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

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Oct 23 05:58:48 UTC 2015


From 20f658e9c7b41810cd906fbcf1676eb1fffa9a49 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 cea441f..51464b6 100644
--- a/perl-Mojolicious.spec
+++ b/perl-Mojolicious.spec
@@ -1,6 +1,6 @@
 Name:           perl-Mojolicious
 Version:        6.24
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A next generation web framework for Perl
 License:        Artistic 2.0
 
@@ -25,6 +25,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
@@ -61,6 +65,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Oct 22 2015 Adam Williamson <awilliam at redhat.com> - 6.24-2
+- don't require perl(EV) - it's optional and some things *cannot* use it
+
 * Sun Oct 18 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 6.24-1
 - Update to 6.24
 
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-Mojolicious.git/commit/?h=master&id=20f658e9c7b41810cd906fbcf1676eb1fffa9a49


More information about the perl-devel mailing list