[texinfo] Fix missing Texinfo manual in the Directory node

vcrhonek vcrhonek at fedoraproject.org
Tue Jan 11 14:05:28 UTC 2011


commit b8e05d5cd0ac30de97784cff6d0d902c774d7375
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Tue Jan 11 15:05:17 2011 +0100

    Fix missing Texinfo manual in the Directory node

 texinfo.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/texinfo.spec b/texinfo.spec
index 92db976..ab53257 100644
--- a/texinfo.spec
+++ b/texinfo.spec
@@ -3,7 +3,7 @@
 Summary: Tools needed to create Texinfo format documentation files
 Name: texinfo
 Version: 4.13a
-Release: 13%{?dist}
+Release: 14%{?dist}
 License: GPLv3+
 Group: Applications/Publishing
 Url: http://www.gnu.org/software/texinfo/
@@ -98,14 +98,14 @@ mv ChangeLog_utf8 ChangeLog
 rm -rf ${RPM_BUILD_ROOT}
 
 %post
-if [ -f %{_infodir}/texinfo ]; then # --excludedocs?
-    /sbin/install-info %{_infodir}/texinfo %{_infodir}/dir || :
+if [ -f %{_infodir}/texinfo.gz ]; then # --excludedocs?
+    /sbin/install-info %{_infodir}/texinfo.gz %{_infodir}/dir || :
 fi
 
 %preun
 if [ $1 = 0 ]; then
-    if [ -f %{_infodir}/texinfo ]; then # --excludedocs?
-        /sbin/install-info --delete %{_infodir}/texinfo %{_infodir}/dir || :
+    if [ -f %{_infodir}/texinfo.gz ]; then # --excludedocs?
+        /sbin/install-info --delete %{_infodir}/texinfo.gz %{_infodir}/dir || :
     fi
 fi
 
@@ -168,6 +168,10 @@ fi
 %{_mandir}/man1/pdftexi2dvi.1*
 
 %changelog
+* Tue Jan 11 2011 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.13a-14
+- Fix missing Texinfo manual in the Directory node
+  Resolves: #662382
+
 * Wed Nov 10 2010 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.13a-13
 - Fix get_sectioning_number function problem
   Resolves: #651314


More information about the scm-commits mailing list