From ea40cd87ad015f05ae7140947216a38492227877 Mon Sep 17 00:00:00 2001 From: vcrhonek Date: Thu, 5 Jun 2008 10:17:38 +0000 Subject: [PATCH] Remove sed Requires (dependency loop) --- texinfo.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/texinfo.spec b/texinfo.spec index 5bbee05..238ec37 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -3,7 +3,7 @@ Summary: Tools needed to create Texinfo format documentation files Name: texinfo Version: 4.12 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: Applications/Publishing Url: http://www.gnu.org/software/texinfo/ @@ -13,7 +13,6 @@ Source2: texi2pdf.man Patch0: texinfo-4.12-zlib.patch Patch1: texinfo-4.12-install-info_crash.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,7 +93,9 @@ fi %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 @@ -145,6 +146,10 @@ fi %{_mandir}/man1/pdftexi2dvi.1* %changelog +* Wed Jun 4 2008 Vitezslav Crhonek - 4.12-4 +- Remove sed Requires (dependency loop) + Resolves: #449705 + * Mon Jun 2 2008 Vitezslav Crhonek - 4.12-3 - Fix install-info crashes on some info files Resolves: #449292