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
|
||||
Name: m4
|
||||
Version: 1.4.13
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Text
|
||||
Source: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
||||
@ -44,17 +44,25 @@ make %{?_smp_mflags} check
|
||||
%{_mandir}/man1/m4.1*
|
||||
|
||||
%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
|
||||
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
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%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
|
||||
- Use xz compressed upstream tarball.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user