Remove sed Requires (dependency loop), improve post
This commit is contained in:
parent
ee7e11a19a
commit
39d0900f4f
10
texinfo.spec
10
texinfo.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Tools needed to create Texinfo format documentation files
|
Summary: Tools needed to create Texinfo format documentation files
|
||||||
Name: texinfo
|
Name: texinfo
|
||||||
Version: 4.11
|
Version: 4.11
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Url: http://www.gnu.org/software/texinfo/
|
Url: http://www.gnu.org/software/texinfo/
|
||||||
@ -12,7 +12,6 @@ Patch0: texinfo-4.11-zlib.patch
|
|||||||
Patch1: texinfo-4.11-res_win_segfault.patch
|
Patch1: texinfo-4.11-res_win_segfault.patch
|
||||||
Patch2: texinfo-4.11-direntry.patch
|
Patch2: texinfo-4.11-direntry.patch
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(post): /bin/sed
|
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: zlib-devel, ncurses-devel
|
BuildRequires: zlib-devel, ncurses-devel
|
||||||
@ -101,7 +100,9 @@ fi
|
|||||||
|
|
||||||
%post -n info
|
%post -n info
|
||||||
/sbin/install-info %{_infodir}/info-stnd.info %{_infodir}/dir
|
/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
|
%preun -n info
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
@ -143,6 +144,9 @@ fi
|
|||||||
%{_mandir}/man1/texi2pdf.1*
|
%{_mandir}/man1/texi2pdf.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 27 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.11-5
|
||||||
|
- Remove sed Requires (dependency loop), improve post
|
||||||
|
|
||||||
* Fri May 30 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.11-4
|
* Fri May 30 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.11-4
|
||||||
- Remove description ("This is...") from /usr/share/info/dir in info
|
- Remove description ("This is...") from /usr/share/info/dir in info
|
||||||
post install section
|
post install section
|
||||||
|
Loading…
Reference in New Issue
Block a user