diff options
Diffstat (limited to 'rpm-mandriva-setup.spec')
-rw-r--r-- | rpm-mandriva-setup.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm-mandriva-setup.spec b/rpm-mandriva-setup.spec index 006a6e8..c1ac175 100644 --- a/rpm-mandriva-setup.spec +++ b/rpm-mandriva-setup.spec @@ -51,7 +51,7 @@ rm -rf $RPM_BUILD_ROOT mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d -%if have_emacsmodespec +%if %have_emacsmodespec # spec mode for emacs install -d $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ install -m644 rpm-spec-mode.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ @@ -85,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT %exclude %_prefix/lib/rpm/mandriva/*-%_target_os %_prefix/lib/rpm/mandriva/* -%if have_emacsmodespec +%if %have_emacsmodespec %{_datadir}/emacs/site-lisp/rpm-spec-mode.el %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el %endif |