From 40c84a0c222325a4ce8fdc1b9198bc0f402655f8 Mon Sep 17 00:00:00 2001 From: vcrhonek Date: May 30 2008 09:28:44 +0000 Subject: Fix Requires and info post script --- diff --git a/texinfo.spec b/texinfo.spec index e1d396e..1fb1f48 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -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 @@ 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 @@ -94,8 +95,8 @@ if [ $1 = 0 ]; then 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 @@ fi %{_mandir}/man1/texi2pdf.1* %changelog +* Fri May 30 2008 Vitezslav Crhonek - 4.11-7 +- Fix Requires and info post script + * Wed May 14 2008 Vitezslav Crhonek - 4.11-6 - Remove description ("This is...") from /usr/share/info/dir in info post install section