diff --git a/automake.spec b/automake.spec index e7e19d0..c5323c2 100644 --- a/automake.spec +++ b/automake.spec @@ -1,14 +1,9 @@ %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 Name: automake Version: %{api_version}.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and GFDL Group: Development/Tools Source: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.bz2 @@ -25,6 +20,16 @@ BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77 BuildRequires: dejagnu expect emacs imake python-docutils vala +# the filtering macros are currently in /etc/rpm/macros.perl: +BuildRequires: perl-devel + +# remove bogus Automake perl dependencies and provides +%{?perl_default_filter: +%filter_from_provides /^perl(Automake::/d +%filter_from_requires /^perl(Automake::/d +%perl_default_filter +} + %description Automake is a tool for automatically generating `Makefile.in' files compliant with the GNU Coding Standards. @@ -80,6 +85,9 @@ fi %dir %{_datadir}/aclocal %changelog +* Tue Mar 2 2010 Stepan Kasal - 1.11.1-3 +- use perl filtering macros + * Tue Mar 02 2010 Karsten Hopp 1.11.1-2 - better method of fixing the perl requires/provides (Paul Howarth, #225302) - fix variable usage in spec file (#225302)