On 06/27/2012 01:51 PM, Paul Howarth wrote:
On 06/27/2012 12:35 PM, Marcela Mašláňová wrote:
commit 844dc43039350d56c9bf25aa8d9a5f0f21135900
Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx>
Date: Wed Jun 27 13:35:45 2012 +0200
Conditionalize usage of Coro, which is used in experimental module.
perl-DBI.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-DBI.spec b/perl-DBI.spec
index 9d890ec..2c6a562 100644
--- a/perl-DBI.spec
+++ b/perl-DBI.spec
@@ -1,6 +1,6 @@
Name: perl-DBI
Version: 1.622
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A database access API for perl
Group: Development/Libraries
License: GPL+ or Artistic
@@ -13,9 +13,13 @@ BuildRequires: perl(constant)
BuildRequires: perl(Carp)
# Clone is optional
BuildRequires: perl(Clone)
+# according to docs is module using Coro just:
+# A PROOF-OF-CONCEPT IMPLEMENTATION FOR EXPERIMENTATION.
+%if ! ( 0%{?rhel} <= 7)
BuildRequires: perl(Coro)
BuildRequires: perl(Coro::Handle)
BuildRequires: perl(Coro::Select)
+%endif
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
# DB_File is optional
@@ -107,6 +111,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Wed Jun 27 2012 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.622-3
+- Conditionalize usage of Coro, which is used in experimental module
You'll still end up with a dependency on Coro so if you want to avoid it
in EL-7 you'll need to add a filter too.
Paul.
Yeah, it had more flows. Give me a minute.
Marcela
--
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