rpms/texinfo/F-9 texinfo.spec,1.54,1.55

Vitezslav Crhonek (vcrhonek) fedora-extras-commits at redhat.com
Fri May 30 09:29:26 UTC 2008


Author: vcrhonek

Update of /cvs/extras/rpms/texinfo/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27754

Modified Files:
	texinfo.spec 
Log Message:
Fix Requires and info post script


Index: texinfo.spec
===================================================================
RCS file: /cvs/extras/rpms/texinfo/F-9/texinfo.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- texinfo.spec	14 May 2008 10:39:52 -0000	1.54
+++ texinfo.spec	30 May 2008 09:28:44 -0000	1.55
@@ -3,7 +3,7 @@
 Summary: Tools needed to create Texinfo format documentation files
 Name: texinfo
 Version: 4.11
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv3+
 Group: Applications/Publishing
 Url: http://www.gnu.org/software/texinfo/
@@ -14,6 +14,7 @@
 Patch1: texinfo-4.11-res_win_segfault.patch
 Patch2: texinfo-4.11-direntry.patch
 Requires(post): /sbin/install-info
+Requires(post): /bin/sed
 Requires(preun): /sbin/install-info
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: zlib-devel, ncurses-devel
@@ -94,8 +95,8 @@
 fi
 
 %post -n info
-/sbin/install-info %{_infodir}/info-stnd.info %{_infodir}/dir || :
-sed -i 's/^This is.*produced by makeinfo.*from/d/' /usr/share/info/dir
+/sbin/install-info %{_infodir}/info-stnd.info %{_infodir}/dir
+/bin/sed -i '/^This is.*produced by makeinfo.*from/d' %{_infodir}/dir || :
 
 %preun -n info
 if [ $1 = 0 ]; then
@@ -145,6 +146,9 @@
 %{_mandir}/man1/texi2pdf.1*
 
 %changelog
+* Fri May 30 2008 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.11-7
+- Fix Requires and info post script
+
 * Wed May 14 2008 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.11-6
 - Remove description ("This is...") from /usr/share/info/dir in info
   post install section




More information about the fedora-extras-commits mailing list