diff --git a/bison.changes b/bison.changes index 71a6861..d47b7c4 100644 --- a/bison.changes +++ b/bison.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 1 14:24:58 UTC 2015 - tchvatal@suse.com + +- Set the installinfo in preun rather than postun to avoid ugly + warning about file not being present. +- Remove the Obsolete for old ppc64 support that won't get triggered + ------------------------------------------------------------------- Fri Feb 20 21:14:39 UTC 2015 - mpluskal@suse.com diff --git a/bison.spec b/bison.spec index 1abaa81..390fa98 100644 --- a/bison.spec +++ b/bison.spec @@ -31,13 +31,10 @@ BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: xz Requires: m4 -Requires(pre): %{install_info_prereq} +Requires(post): %{install_info_prereq} +Requires(preun): %{install_info_prereq} Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build -# bug437293 -%ifarch ppc64 -Obsoletes: bison-64bit -%endif %description Bison is a parser generator similar to yacc(1). @@ -82,7 +79,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%postun +%preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %changelog