adamwill pushed to perl-Mojolicious (f23). "don't require perl(EV) - optional and some things cannot use it"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Oct 23 06:00:28 UTC 2015


From 4a17a4ff3ee71bf88168a711a7954b3e8610fe80 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam at redhat.com>
Date: Thu, 22 Oct 2015 22:58:28 -0700
Subject: don't require perl(EV) - optional and some things cannot use it

---
 perl-Mojolicious.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/perl-Mojolicious.spec b/perl-Mojolicious.spec
index e6af19d..67cb659 100644
--- a/perl-Mojolicious.spec
+++ b/perl-Mojolicious.spec
@@ -1,6 +1,6 @@
 Name:           perl-Mojolicious
 Version:        6.14
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A next generation web framework for Perl
 License:        Artistic 2.0
 
@@ -24,6 +24,10 @@ BuildRequires:  perl(Time::Local)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
+# EV is just one supported reactor backend, Mojo can use others, and
+# ithreads-based code actually cannot use EV:
+# http://mojolicio.us/perldoc/Mojolicious/Guides/FAQ#What-does-the-error-EV-does-not-work-with-ithreads-mean
+%global __requires_exclude perl\\(VMS|perl\\(Win32|perl\\(EV
 
 %description
 Back in the early days of the web there was this wonderful Perl library
@@ -60,6 +64,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Oct 22 2015 Adam Williamson <awilliam at redhat.com> - 6.14-2
+- don't require perl(EV) - it's optional and some things *cannot* use it
+
 * Tue Jul 14 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 6.14-1
 - Update to 6.14
 - Add perl(Time::Local) as a BR (#1242789)
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-Mojolicious.git/commit/?h=f23&id=4a17a4ff3ee71bf88168a711a7954b3e8610fe80


More information about the perl-devel mailing list