summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Vcelak <jvcelak@redhat.com>2011-10-12 16:28:59 +0200
committerJan Vcelak <jvcelak@redhat.com>2011-10-12 16:36:03 +0200
commitb8d668e4d5f52659070cb793f6806a4029d8fbc6 (patch)
tree5fa4edd2182b12b3a1c74ad89839f3702825eeaf
parentac90ffb29b7e558196c4cde634721942dd063cb5 (diff)
downloadgroff-b8d668e4d5f52659070cb793f6806a4029d8fbc6.tar.gz
groff-b8d668e4d5f52659070cb793f6806a4029d8fbc6.tar.xz
groff-b8d668e4d5f52659070cb793f6806a4029d8fbc6.zip
fix groff package: add install-info to %post and %preun
-rw-r--r--groff.spec7
1 files 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 <jvcelak@redhat.com> 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 <jvcelak@redhat.com> 1.21-6
- fix build warnings: File listed twice