summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--m4.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/m4.spec b/m4.spec
index 08ad431..7efd15d 100644
--- a/m4.spec
+++ b/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.