- better method of fixing the perl requires/provides (Paul Howarth,
#225302) - fix variable usage in spec file (#225302) - use pregenerated manpages from automake-1.11 (#225302) - update URL (#225302)
This commit is contained in:
parent
4a8a78e660
commit
80c28fac11
@ -1,17 +1,18 @@
|
|||||||
%define api_version 1.11
|
%define api_version 1.11
|
||||||
|
# Kludge to remove bogus Automake perl dependencies and provides
|
||||||
|
%global reqfilt /bin/sh -c "%{__perl_requires} | grep -Fv 'perl(Automake::'"
|
||||||
|
%define __perl_requires %{reqfilt}
|
||||||
|
%global provfilt /bin/sh -c "%{__perl_provides} | grep -Fv 'perl(Automake::'"
|
||||||
|
%define __perl_provides %{provfilt}
|
||||||
|
|
||||||
Summary: A GNU tool for automatically creating Makefiles
|
Summary: A GNU tool for automatically creating Makefiles
|
||||||
Name: automake
|
Name: automake
|
||||||
Version: %{api_version}.1
|
Version: %{api_version}.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ and GFDL
|
License: GPLv2+ and GFDL
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Source: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.bz2
|
Source: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.bz2
|
||||||
Source1: filter-provides-automake.sh
|
URL: http://sourceware.org/automake/
|
||||||
Source2: filter-requires-automake.sh
|
|
||||||
Source3: automake.man
|
|
||||||
Source4: aclocal.man
|
|
||||||
URL: http://sources.redhat.com/automake
|
|
||||||
Requires: autoconf >= 2.62
|
Requires: autoconf >= 2.62
|
||||||
Buildrequires: autoconf >= 2.62
|
Buildrequires: autoconf >= 2.62
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
@ -24,10 +25,6 @@ BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
|
|||||||
BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77
|
BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77
|
||||||
BuildRequires: dejagnu expect emacs imake python-docutils vala
|
BuildRequires: dejagnu expect emacs imake python-docutils vala
|
||||||
|
|
||||||
%define _use_internal_dependency_generator 0
|
|
||||||
%define __find_provides %{SOURCE1}
|
|
||||||
%define __find_requires %{SOURCE2}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Automake is a tool for automatically generating `Makefile.in'
|
Automake is a tool for automatically generating `Makefile.in'
|
||||||
files compliant with the GNU Coding Standards.
|
files compliant with the GNU Coding Standards.
|
||||||
@ -38,7 +35,7 @@ Makefiles. If you install Automake, you will also need to install
|
|||||||
GNU's Autoconf package.
|
GNU's Autoconf package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n automake-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
@ -51,14 +48,12 @@ iconv -f ISO_8859-15 -t UTF-8 NEWS_ -o NEWS
|
|||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||||
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_mandir}/man1/automake.1
|
|
||||||
install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_mandir}/man1/aclocal.1
|
|
||||||
|
|
||||||
# create this dir empty so we can own it
|
# create this dir empty so we can own it
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/aclocal
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/aclocal
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -85,6 +80,12 @@ fi
|
|||||||
%dir %{_datadir}/aclocal
|
%dir %{_datadir}/aclocal
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 02 2010 Karsten Hopp <karsten@redhat.com> 1.11.1-2
|
||||||
|
- better method of fixing the perl requires/provides (Paul Howarth, #225302)
|
||||||
|
- fix variable usage in spec file (#225302)
|
||||||
|
- use pregenerated manpages from automake-1.11 (#225302)
|
||||||
|
- update URL (#225302)
|
||||||
|
|
||||||
* Wed Dec 09 2009 Karsten Hopp <karsten@redhat.com> 1.11.1-1
|
* Wed Dec 09 2009 Karsten Hopp <karsten@redhat.com> 1.11.1-1
|
||||||
- update to version 1.11.1 to fix CVE-2009-4029
|
- update to version 1.11.1 to fix CVE-2009-4029
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user