diff --git a/emacs-vm.spec b/emacs-vm.spec index a0641c6..fb5a230 100644 --- a/emacs-vm.spec +++ b/emacs-vm.spec @@ -34,7 +34,7 @@ BuildRequires: emacs-nox BuildRequires: makeinfo Requires: ed Requires: emacs -%if 0%{?suse_version} < 1500 +%if 0%{?suse_version} <= 1500 Requires(post): %{install_info_prereq} Requires(pre): %{install_info_prereq} %endif @@ -79,7 +79,7 @@ mkdir -p %{buildroot} echo ";; %{_datadir}/emacs/site-lisp/suse-start-%{name}.el ends here" } > %{buildroot}%{_sitedir}/suse-start-%{name}.el -%if 0%{?suse_version} < 1500 +%if 0%{?suse_version} <= 1500 %post %install_info --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info}