From 043a26eb42b0b156d2ae9205ddf487c52c8dff84 Mon Sep 17 00:00:00 2001
From: Mathieu Bridon <[email protected]>
Date: Fri, 8 Apr 2011 17:50:04 +0800
Subject: 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 file changed, 7 insertions(+), 1 deletion(-)
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 <[email protected]> - 5.372-3
+- Added explicit versionned Requires: on perl(EV)
+- Removed automatically added unversionned Requires: on perl(EV)
+
* Thu Apr 07 2011 Mathieu Bridon <[email protected]> - 5.372-2
- Rebuild with EV support.
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Coro.git/commit/?h=epel7&id=043a26eb42b0b156d2ae9205ddf487c52c8dff84
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]