commit db38abfba1eecd69ab79b50e231d90b46abf4a48 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Jul 29 11:12:47 2011 +0200 Add RPM 4.9 style filters perl-Coro.spec | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) --- diff --git a/perl-Coro.spec b/perl-Coro.spec index 3d3fa44..1695810 100644 --- a/perl-Coro.spec +++ b/perl-Coro.spec @@ -1,6 +1,6 @@ Name: perl-Coro Version: 5.372 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The only real threads in perl License: GPL+ or Artistic Group: Development/Libraries @@ -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 @@ -96,6 +112,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Jul 29 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 5.372-5 +- Add RPM 4.9 filters + * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 5.372-4 - Perl mass rebuild -- 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