Fix errors installing m4 with --excludedocs
This commit is contained in:
parent
e9e3bffa43
commit
8915664389
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.13
|
Version: 1.4.13
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
Source: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
||||||
@ -44,17 +44,25 @@ make %{?_smp_mflags} check
|
|||||||
%{_mandir}/man1/m4.1*
|
%{_mandir}/man1/m4.1*
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :
|
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
|
||||||
|
/sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :
|
||||||
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :
|
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
|
||||||
|
/sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 3 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.13-4
|
||||||
|
- Fix errors installing m4 with --excludedocs
|
||||||
|
Resolves: #516013
|
||||||
|
|
||||||
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.4.13-3
|
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.4.13-3
|
||||||
- Use xz compressed upstream tarball.
|
- Use xz compressed upstream tarball.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user