From 66e5bd95615d255462065455ba4a79c35c0b3906 Mon Sep 17 00:00:00 2001 From: vcrhonek Date: Thu, 29 May 2008 11:44:05 +0000 Subject: [PATCH] Fix Requires and info post script --- texinfo.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/texinfo.spec b/texinfo.spec index 7a46ad7..428d3b2 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: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/Publishing Url: http://www.gnu.org/software/texinfo/ @@ -12,6 +12,7 @@ Source1: info-dir Source2: texi2pdf.man Patch0: texinfo-4.12-zlib.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 @@ -90,8 +91,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 @@ -142,6 +143,9 @@ fi %{_mandir}/man1/pdftexi2dvi.1* %changelog +* Thu May 29 2008 Vitezslav Crhonek - 4.12-2 +- Fix Requires and info post script + * Wed May 14 2008 Vitezslav Crhonek - 4.12-1 - Update to texinfo-4.12 - Remove description ("This is...") from /usr/share/info/dir in info