RPM 4.9 dependency filtering added
This commit is contained in:
parent
806771df5f
commit
1f433d46a0
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: perl-AnyEvent
|
Name: perl-AnyEvent
|
||||||
Version: 5.27
|
Version: 5.27
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Framework for multiple event loops
|
Summary: Framework for multiple event loops
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -16,11 +16,19 @@ BuildRequires: perl(ExtUtils::MakeMaker)
|
|||||||
# Needed for test
|
# Needed for test
|
||||||
BuildRequires: perl(Test::Simple)
|
BuildRequires: perl(Test::Simple)
|
||||||
|
|
||||||
|
# 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(AnyEvent::Impl::Qt/d
|
||||||
%filter_from_provides /perl(AnyEvent::Impl::Qt/d
|
%filter_from_provides /perl(AnyEvent::Impl::Qt/d
|
||||||
%filter_setup
|
%filter_setup
|
||||||
}
|
}
|
||||||
|
# RPM 4.9 style
|
||||||
|
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl(Tk)
|
||||||
|
%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
|
||||||
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
@ -65,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 5.27-6
|
||||||
|
- RPM 4.9 dependency filtering added
|
||||||
|
|
||||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.27-5
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.27-5
|
||||||
- Perl mass rebuild
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user