Remove sed Requires (dependency loop)
This commit is contained in:
parent
562e3ad719
commit
ea40cd87ad
11
texinfo.spec
11
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 <vcrhonek@redhat.com> - 4.12-4
|
||||
- Remove sed Requires (dependency loop)
|
||||
Resolves: #449705
|
||||
|
||||
* Mon Jun 2 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-3
|
||||
- Fix install-info crashes on some info files
|
||||
Resolves: #449292
|
||||
|
Loading…
Reference in New Issue
Block a user