Fix installation of info documentation
This commit is contained in:
parent
bccba387a2
commit
e1482b2964
14
m4.spec
14
m4.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The GNU macro processor
|
Summary: The GNU macro processor
|
||||||
Name: m4
|
Name: m4
|
||||||
Version: 1.4.17
|
Version: 1.4.17
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
||||||
@ -47,18 +47,22 @@ make %{?_smp_mflags} check
|
|||||||
%{_mandir}/man1/m4.1*
|
%{_mandir}/man1/m4.1*
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
|
if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs?
|
||||||
/sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/m4.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
|
if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs?
|
||||||
/sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/m4.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 12 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.17-2
|
||||||
|
- Fix installation of info documentation
|
||||||
|
Resolves: #1020194
|
||||||
|
|
||||||
* Tue Nov 05 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.17-1
|
* Tue Nov 05 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.17-1
|
||||||
- Update to m4-1.4.17
|
- Update to m4-1.4.17
|
||||||
Resolves: #1010895
|
Resolves: #1010895
|
||||||
|
Loading…
Reference in New Issue
Block a user