fix groff package: add install-info to %post and %preun
This commit is contained in:
parent
ac90ffb29b
commit
b8d668e4d5
@ -24,6 +24,8 @@ Provides: nroff-i18n = %{version}-%{release}
|
|||||||
BuildRequires: netpbm-progs psutils ghostscript
|
BuildRequires: netpbm-progs psutils ghostscript
|
||||||
# when building from CVS add: BuildRequires: texinfo byacc
|
# when building from CVS add: BuildRequires: texinfo byacc
|
||||||
Requires: groff-base = %{version}-%{release}
|
Requires: groff-base = %{version}-%{release}
|
||||||
|
Requires(post): info
|
||||||
|
Requires(preun): info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Groff is a document formatting system. Groff takes standard text and
|
Groff is a document formatting system. Groff takes standard text and
|
||||||
@ -155,10 +157,10 @@ popd
|
|||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post doc
|
%post
|
||||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||||
|
|
||||||
%preun doc
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
@ -416,6 +418,7 @@ fi
|
|||||||
* Wed Oct 12 2011 Jan Vcelak <jvcelak@redhat.com> 1.21-7
|
* Wed Oct 12 2011 Jan Vcelak <jvcelak@redhat.com> 1.21-7
|
||||||
- update: move local configuration from /usr/share/groff/site-* to /etc/groff/*
|
- 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)
|
(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
|
* Tue Oct 11 2011 Jan Vcelak <jvcelak@redhat.com> 1.21-6
|
||||||
- fix build warnings: File listed twice
|
- fix build warnings: File listed twice
|
||||||
|
Loading…
Reference in New Issue
Block a user