Fix rhbz#815496
This commit is contained in:
parent
3c78bfeb4c
commit
a2db979627
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: perl-AnyEvent
|
Name: perl-AnyEvent
|
||||||
Version: 6.14
|
Version: 6.14
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Framework for multiple event loops
|
Summary: Framework for multiple event loops
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -14,13 +14,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
#FYI this went arch specific since 6.14
|
#FYI this went arch specific since 6.14
|
||||||
#BuildArch: noarch
|
#BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
#Default recommanded loop
|
||||||
|
BuildRequires: perl(EV)
|
||||||
# Needed for test
|
# Needed for test
|
||||||
BuildRequires: perl(Test::Simple)
|
BuildRequires: perl(Test::Simple)
|
||||||
|
|
||||||
# RPM 4.8 style
|
# RPM 4.8 style
|
||||||
%{?filter_setup:
|
%{?filter_setup:
|
||||||
%filter_from_requires /perl(Tk)/d; /perl(EV)/d; /perl(Irssi)/d; /perl(Qt/d; /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
|
%filter_from_provides /perl(AnyEvent::Impl::Qt/d /perl(AnyEvent::Impl::Cocoa/d
|
||||||
%filter_setup
|
%filter_setup
|
||||||
}
|
}
|
||||||
# RPM 4.9 style
|
# 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(EV)
|
||||||
%global __requires_exclude %__requires_exclude|perl(Irssi)
|
%global __requires_exclude %__requires_exclude|perl(Irssi)
|
||||||
%global __requires_exclude %__requires_exclude|perl(Qt
|
%global __requires_exclude %__requires_exclude|perl(Qt
|
||||||
%global __requires_exclude %__requires_exclude|perl(AnyEvent::Impl::Qt
|
%global __requires_exclude %__requires_exclude|perl(AnyEvent::Impl::Cocoa
|
||||||
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}perl(AnyEvent::Impl::Qt
|
%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))
|
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
|
%check
|
||||||
# PERL_ANYEVENT_NET_TESTS shoudn't be set to avoid network tests
|
# PERL_ANYEVENT_NET_TESTS shoudn't be set to avoid network tests
|
||||||
# on our builder.
|
# on our builder.
|
||||||
|
export PERL_ANYEVENT_LOOP_TESTS=1
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
@ -74,6 +80,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Apr 22 2012 Nicolas Chauvet <kwizart@gmail.com> - 6.14-1
|
||||||
- Update to 6.14
|
- Update to 6.14
|
||||||
- Make the package arch specific
|
- Make the package arch specific
|
||||||
|
Loading…
Reference in New Issue
Block a user