From 8660cc3c30948ceca99604adf40007a5e65ff097bd9e09e6ad22c12bd230da8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 1 Sep 2015 18:07:59 +0000 Subject: [PATCH] Accepting request 328330 from home:scarabeus_iv:branches:devel:tools:compiler - 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 OBS-URL: https://build.opensuse.org/request/show/328330 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=44 --- bison.changes | 7 +++++++ bison.spec | 9 +++------ 2 files changed, 10 insertions(+), 6 deletions(-) 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