commit 70e131cbee4d6cdd4b17b9e2223fd03744fca116 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Jul 29 11:12:47 2011 +0200 Add RPM 4.9 style filters perl-Coro.spec | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) --- diff --git a/perl-Coro.spec b/perl-Coro.spec index 2a76667..c40fcdc 100644 --- a/perl-Coro.spec +++ b/perl-Coro.spec @@ -32,6 +32,7 @@ Requires: perl(Event) >= 1.08 Requires: perl(Guard) >= 0.5 Requires: perl(Storable) >= 2.15 +# RPM 4.8 style: # Filter underspecified dependencies %filter_from_requires /^perl(AnyEvent)$/d %filter_from_requires /^perl(AnyEvent) >= 4.800001$/d @@ -44,8 +45,23 @@ Requires: perl(Storable) >= 2.15 %filter_from_provides /^perl(Coro)$/d # Version unversioned Provides %filter_from_provides s/^\(perl(Coro\>[^=]*\)$/\1 = %{version}/ + %{?perl_default_filter} +# RPM 4.9 style: +# Filter underspecified dependencies +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(AnyEvent\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(AnyEvent\\) >= 4.800001$ +%global __requires_exclude %__requires_exclude|^perl\\(AnyEvent::AIO\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(AnyEvent::BDB\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(EV\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Event\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Guard\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Storable\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Coro\\)$ +%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(Coro\\)$ + + %description This module collection manages continuations in general, most often in the form of cooperative threads (also called coros, or simply "coro" in the -- 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