- use perl filtering macros
This commit is contained in:
parent
42e2dea5ea
commit
8576d7ea92
@ -1,14 +1,9 @@
|
|||||||
%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: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -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: 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
|
||||||
|
|
||||||
|
# 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
|
%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.
|
||||||
@ -80,6 +85,9 @@ fi
|
|||||||
%dir %{_datadir}/aclocal
|
%dir %{_datadir}/aclocal
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 2 2010 Stepan Kasal <skasal@redhat.com> - 1.11.1-3
|
||||||
|
- use perl filtering macros
|
||||||
|
|
||||||
* Tue Mar 02 2010 Karsten Hopp <karsten@redhat.com> 1.11.1-2
|
* Tue Mar 02 2010 Karsten Hopp <karsten@redhat.com> 1.11.1-2
|
||||||
- better method of fixing the perl requires/provides (Paul Howarth, #225302)
|
- better method of fixing the perl requires/provides (Paul Howarth, #225302)
|
||||||
- fix variable usage in spec file (#225302)
|
- fix variable usage in spec file (#225302)
|
||||||
|
Loading…
Reference in New Issue
Block a user