From b8d668e4d5f52659070cb793f6806a4029d8fbc6 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Wed, 12 Oct 2011 16:28:59 +0200 Subject: [PATCH] fix groff package: add install-info to %post and %preun --- groff.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/groff.spec b/groff.spec index c547060..0d702b6 100644 --- a/groff.spec +++ b/groff.spec @@ -24,6 +24,8 @@ Provides: nroff-i18n = %{version}-%{release} BuildRequires: netpbm-progs psutils ghostscript # when building from CVS add: BuildRequires: texinfo byacc Requires: groff-base = %{version}-%{release} +Requires(post): info +Requires(preun): info %description Groff is a document formatting system. Groff takes standard text and @@ -155,10 +157,10 @@ popd %clean rm -rf %{buildroot} -%post doc +%post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : -%preun doc +%preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi @@ -416,6 +418,7 @@ fi * Wed Oct 12 2011 Jan Vcelak 1.21-7 - update: move local configuration from /usr/share/groff/site-* to /etc/groff/* (change the paths in the app instead of symlinking to avoid RPM issues) +- fix groff package: add install-info to %%post and %%preun * Tue Oct 11 2011 Jan Vcelak 1.21-6 - fix build warnings: File listed twice