Fix rhbz#815496
This commit is contained in:
parent
3c78bfeb4c
commit
a2db979627
|
@ -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@gmail.com> - 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@gmail.com> - 6.14-1
|
||||
- Update to 6.14
|
||||
- Make the package arch specific
|
||||
|
|
Loading…
Reference in New Issue