diff --git a/texinfo.spec b/texinfo.spec index 1fb1f48..19f11b2 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -14,7 +14,6 @@ Patch0: texinfo-4.11-zlib.patch 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 @@ 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 @@ -146,6 +147,9 @@ fi %{_mandir}/man1/texi2pdf.1* %changelog +* Fri Jun 27 2008 Vitezslav Crhonek - 4.11-8 +- Remove sed Requires (dependency loop), improve post + * Fri May 30 2008 Vitezslav Crhonek - 4.11-7 - Fix Requires and info post script