summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvcrhonek <vcrhonek@fedoraproject.org>2009-09-03 10:26:21 +0000
committervcrhonek <vcrhonek@fedoraproject.org>2009-09-03 10:26:21 +0000
commit8915664389b3ea51784233ea5aa9005d7d1dc905 (patch)
treeaf732d70a08c01606ce10aa41aca900cc5069817
parente9e3bffa43191f75932b65a6e755667cb48d293d (diff)
downloadm4-8915664389b3ea51784233ea5aa9005d7d1dc905.tar.gz
m4-8915664389b3ea51784233ea5aa9005d7d1dc905.tar.xz
m4-8915664389b3ea51784233ea5aa9005d7d1dc905.zip
Fix errors installing m4 with --excludedocsm4-1_4_13-4_fc12F-12-startF-12-split
-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.