[perl-Net-Server-Coro] Build against system inc::Module::Install, and bump the Release
Mathieu Bridon
bochecha at fedoraproject.org
Mon Feb 6 03:56:58 UTC 2012
commit 917f3a05615da2f0d9cac0a955c68aa3bf30976c
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Mon Feb 6 11:21:05 2012 +0800
Build against system inc::Module::Install, and bump the Release
perl-Net-Server-Coro.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-Net-Server-Coro.spec b/perl-Net-Server-Coro.spec
index fc17a7d..1f2b658 100644
--- a/perl-Net-Server-Coro.spec
+++ b/perl-Net-Server-Coro.spec
@@ -1,6 +1,6 @@
Name: perl-Net-Server-Coro
Version: 1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Co-operative multithreaded server using Coro
License: MIT
@@ -11,6 +11,7 @@ Source0: http://www.cpan.org/authors/id/A/AL/ALEXMV/Net-Server-Coro-%{ver
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(inc::Module::Install)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -26,6 +27,9 @@ blocking. Additionally, it supports non-blocking SSL negotiation.
%prep
%setup -q -n Net-Server-Coro-%{version}
+# Build using the system-provided module, not the bundled one
+rm -fr inc
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -52,6 +56,10 @@ make test
%changelog
+* Mon Feb 06 2012 Mathieu Bridon <bochecha at fedoraproject.org> - 1.2-2
+- Build using the system-provided module, not the bundled one.
+ This fixes the issue raised by Petr:
+ https://bugzilla.redhat.com/show_bug.cgi?id=785057#c5
- Run the unit tests, even if there's none. Ther emight be some in the future,
so this makes the package better prepared.
More information about the scm-commits
mailing list