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

Vitezslav Crhonek (vcrhonek) fedora-extras-commits at redhat.com
Fri Jun 27 12:31:21 UTC 2008


Author: vcrhonek

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

Modified Files:
	texinfo.spec 
Log Message:
Remove sed Requires (dependency loop), improve post


Index: texinfo.spec
===================================================================
RCS file: /cvs/extras/rpms/texinfo/F-9/texinfo.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- texinfo.spec	30 May 2008 09:28:44 -0000	1.55
+++ texinfo.spec	27 Jun 2008 12:30:31 -0000	1.56
@@ -14,7 +14,6 @@
 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
@@ -96,7 +95,9 @@
 
 %post -n info
 /sbin/install-info %{_infodir}/info-stnd.info %{_infodir}/dir
-/bin/sed -i '/^This is.*produced by makeinfo.*from/d' %{_infodir}/dir || :
+if [ -x /bin/sed ]; then
+    /bin/sed -i '/^This is.*produced by makeinfo.*from/d' %{_infodir}/dir || :
+fi
 
 %preun -n info
 if [ $1 = 0 ]; then
@@ -146,6 +147,9 @@
 %{_mandir}/man1/texi2pdf.1*
 
 %changelog
+* Fri Jun 27 2008 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.11-8
+- Remove sed Requires (dependency loop), improve post
+
 * Fri May 30 2008 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.11-7
 - Fix Requires and info post script
 




More information about the fedora-extras-commits mailing list