commit a2db979627fa9c119da1f84bb2156006cb4c2594 Author: Nicolas Chauvet <kwizart@xxxxxxxxx> Date: Mon Apr 23 21:19:51 2012 +0200 Fix rhbz#815496 perl-AnyEvent.spec | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) --- diff --git a/perl-AnyEvent.spec b/perl-AnyEvent.spec index 7568203..2f55c4c 100644 --- a/perl-AnyEvent.spec +++ b/perl-AnyEvent.spec @@ -2,7 +2,7 @@ Name: perl-AnyEvent Version: 6.14 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Framework for multiple event loops Group: Development/Libraries @@ -14,13 +14,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #FYI this went arch specific since 6.14 #BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) +#Default recommanded loop +BuildRequires: perl(EV) # Needed for test BuildRequires: perl(Test::Simple) # RPM 4.8 style %{?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_from_requires /perl(Tk)/d; /perl(EV)/d; /perl(Irssi)/d; /perl(Qt/d; /perl(IO::Async::Loop/d; /perl(AnyEvent::Impl::Qt/d; /perl(FLTK/d; /perl(Cocoa/d; +%filter_from_provides /perl(AnyEvent::Impl::Qt/d /perl(AnyEvent::Impl::Cocoa/d %filter_setup } # RPM 4.9 style @@ -28,8 +30,11 @@ BuildRequires: perl(Test::Simple) %global __requires_exclude %__requires_exclude|perl(EV) %global __requires_exclude %__requires_exclude|perl(Irssi) %global __requires_exclude %__requires_exclude|perl(Qt -%global __requires_exclude %__requires_exclude|perl(AnyEvent::Impl::Qt -%global __provides_exclude %{?__provides_exclude:__provides_exclude|}perl(AnyEvent::Impl::Qt +%global __requires_exclude %__requires_exclude|perl(AnyEvent::Impl::Cocoa +%global __requires_exclude %__requires_exclude|perl(Cocoa +%global __requires_exclude %__requires_exclude|perl(FLTK +%global __requires_exclude %__requires_exclude|perl(IO::Async::Loop +%global __provides_exclude %{?__provides_exclude:__provides_exclude|}perl(AnyEvent::Impl::Cocoa Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -58,6 +63,7 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %check # PERL_ANYEVENT_NET_TESTS shoudn't be set to avoid network tests # on our builder. +export PERL_ANYEVENT_LOOP_TESTS=1 make test @@ -74,6 +80,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Apr 23 2012 Nicolas Chauvet <kwizart@xxxxxxxxx> - 6.14-2 +- Filter requires perl(FLTK) perl(Cocoa) - rhbz#815496 +- Filter perl(IO::Async::Loop) to reintroduce later. +- Remove filter on perl(AnyEvent::Impl::Qt) since there is perl(Qt) + * Sun Apr 22 2012 Nicolas Chauvet <kwizart@xxxxxxxxx> - 6.14-1 - Update to 6.14 - Make the package arch specific -- 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