[perl-Coro] Fix handling of Requires from last commit.

Mathieu Bridon bochecha at fedoraproject.org
Fri Apr 8 09:52:46 UTC 2011


commit 043a26eb42b0b156d2ae9205ddf487c52c8dff84
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Fri Apr 8 17:50:04 2011 +0800

    Fix handling of Requires from last commit.
    
    The Requires: on perl(EV) is added automatically, but it is not
    versionned.
    
    This commit filters the unversionned Requires: out and adds an
    explicit, versionned one instead.

 perl-Coro.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-Coro.spec b/perl-Coro.spec
index 319951a..9f67fa4 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -1,6 +1,6 @@
 Name:           perl-Coro
 Version:        5.372
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        The only real threads in perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -27,6 +27,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 Requires:       perl(AnyEvent) >= 5
 Requires:       perl(AnyEvent::AIO) >= 1
 Requires:       perl(AnyEvent::BDB) >= 1
+Requires:       perl(EV) >= 3
 Requires:       perl(Event) >= 1.08
 Requires:       perl(Guard) >= 0.5
 Requires:       perl(Storable) >= 2.15
@@ -36,6 +37,7 @@ Requires:       perl(Storable) >= 2.15
 %filter_from_requires /^perl(AnyEvent) >= 4.800001$/d
 %filter_from_requires /^perl(AnyEvent::AIO)$/d
 %filter_from_requires /^perl(AnyEvent::BDB)$/d
+%filter_from_requires /^perl(EV)$/d
 %filter_from_requires /^perl(Event)$/d
 %filter_from_requires /^perl(Guard)$/d
 %filter_from_requires /^perl(Storable)$/d
@@ -94,6 +96,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Apr 08 2011 Mathieu Bridon <bochecha at fedoraproject.org> - 5.372-3
+- Added explicit versionned Requires: on perl(EV)
+- Removed automatically added unversionned Requires: on perl(EV)
+
 * Thu Apr 07 2011 Mathieu Bridon <bochecha at fedoraproject.org> - 5.372-2
 - Rebuild with EV support.
 



More information about the perl-devel mailing list