diff options
Diffstat (limited to 'groff.spec')
-rw-r--r-- | groff.spec | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |