[m4/f20] Fix installation of info documentation

vcrhonek vcrhonek at fedoraproject.org
Tue Nov 12 11:14:10 UTC 2013


commit 90208961f936681c4d8525b2ad7781bcf2676e12
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Tue Nov 12 12:14:23 2013 +0100

    Fix installation of info documentation

 m4.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/m4.spec b/m4.spec
index d17fd96..8cbc533 100644
--- a/m4.spec
+++ b/m4.spec
@@ -1,7 +1,7 @@
 Summary: The GNU macro processor
 Name: m4
 Version: 1.4.16
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv3+
 Group: Applications/Text
 Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
@@ -55,18 +55,22 @@ make %{?_smp_mflags} check
 %{_mandir}/man1/m4.1*
 
 %post
-if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
-    /sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :
+if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs?
+    /sbin/install-info %{_infodir}/m4.info.gz %{_infodir}/dir || :
 fi
 
 %preun
 if [ "$1" = 0 ]; then
-    if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
-        /sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :
+    if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs?
+        /sbin/install-info --delete %{_infodir}/m4.info.gz %{_infodir}/dir || :
     fi
 fi
 
 %changelog
+* Tue Nov 12 2013 Vitezslav Crhonek <vcrhonek at redhat.com> - 1.4.16-10
+- Fix installation of info documentation
+  Resolves: #1020194
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.16-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list