- buildrequire perl for autoscan script, don't compress info files

This commit is contained in:
Karsten Hopp 2007-02-14 16:33:49 +00:00
parent 68912c0fd5
commit ce6e6d7e45

View File

@ -1,7 +1,7 @@
Summary: A GNU tool for automatically configuring source code
Name: autoconf213
Version: 2.13
Release: 13
Release: 14
License: GPL
Group: Development/Tools
URL: http://www.gnu.org/software/autoconf/
@ -17,10 +17,10 @@ Patch7: autoconf-2.13-wait3test.patch
Patch8: autoconf-2.13-make-defs-62361.patch
Patch9: autoconf-2.13-versioning.patch
Patch10: autoconf213-destdir.patch
Requires: gawk, m4 >= 1.1, mktemp
Requires: gawk, m4 >= 1.1, mktemp, perl
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Buildrequires: texinfo, m4 >= 1.1
Buildrequires: texinfo, m4 >= 1.1, perl, gawk
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -69,14 +69,12 @@ mv ${RPM_BUILD_ROOT}%{_infodir}/autoconf.info ${RPM_BUILD_ROOT}%{_infodir}/%{nam
# because it comes from binutils...
rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/*
%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%clean
@ -90,6 +88,9 @@ rm -rf ${RPM_BUILD_ROOT}
%doc AUTHORS COPYING NEWS README TODO
%changelog
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 2.13-14
- buildrequire perl for autoscan script
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 2.13-13
- buildroot fixed
- removed textutils requirement