commit 74d9ede693cfd714a73ffe69b3446dd829ec03d6 Author: Nicolas Chauvet <kwizart@xxxxxxxxx> Date: Thu Feb 10 22:42:25 2011 +0100 - Rewritten to new filtering rules http://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Perl perl-AnyEvent.spec | 35 +++++++++++------------------------ 1 files changed, 11 insertions(+), 24 deletions(-) --- diff --git a/perl-AnyEvent.spec b/perl-AnyEvent.spec index 97e77f5..b73c821 100644 --- a/perl-AnyEvent.spec +++ b/perl-AnyEvent.spec @@ -2,7 +2,7 @@ Name: perl-AnyEvent Version: 5.27 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Framework for multiple event loops Group: Development/Libraries @@ -16,6 +16,12 @@ BuildRequires: perl(ExtUtils::MakeMaker) # Needed for test BuildRequires: perl(Test::Simple) +%{?filter_setup: +%filter_from_requires /perl(Tk)/d; /perl(EV)/d; /perl(Irssi)/d; /perl(Qt/d; /perl(AnyEvent::Impl::Qt/d +%filter_from_provides /perl(AnyEvent::Impl::Qt/d +%filter_setup +} + Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -28,29 +34,6 @@ peacefully at any one time). %prep %setup -q -n AnyEvent-%{version}%{?subver} -# Filter unwanted Requires: -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ - sed -e '/perl(Tk)/d' | \ - sed -e '/perl(EV)/d' | \ - sed -e '/perl(Irssi)/d' | \ - sed -e '/^perl(Qt/d' | \ - sed -e '/^perl(AnyEvent::Impl::Qt/d' - -EOF -%define __perl_requires %{_builddir}/AnyEvent-%{version}%{?subver}/%{name}-req -chmod +x %{name}-req - -# Filter unwanted Provides: -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} $* |\ - sed -e '/^perl(AnyEvent::Impl::Qt/d' - -EOF -%define __perl_provides %{_builddir}/AnyEvent-%{version}%{?subver}/%{name}-prov -chmod +x %{name}-prov %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -82,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Feb 10 2011 Nicolas Chauvet <kwizart@xxxxxxxxx> - 5.27-4 +- Rewritten to new filtering rules + http://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Perl + * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 5.27-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel