commit 13182c18a8ce46b62617213ae1c8b3b44ffedcb2
Author: Emmanuel Seyman <emman...@seyman.fr>
Date:   Wed Dec 10 20:03:17 2014 +0100

    Apply patch by the Debian maintainer to make this package's tests run with 
Catalyst 5.90006x (brc #1172196, rco #94392).

 perl-Catalyst-Plugin-SubRequest.spec |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/perl-Catalyst-Plugin-SubRequest.spec 
b/perl-Catalyst-Plugin-SubRequest.spec
index da5e7e1..7b380d5 100644
--- a/perl-Catalyst-Plugin-SubRequest.spec
+++ b/perl-Catalyst-Plugin-SubRequest.spec
@@ -1,11 +1,14 @@
 Name:           perl-Catalyst-Plugin-SubRequest
 Summary:        Make subrequests to actions in Catalyst
 Version:        0.20
-Release:        6%{?dist}
+Release:        7%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        
http://search.cpan.org/CPAN/authors/id/E/ED/EDENC/Catalyst-Plugin-SubRequest-%{version}.tar.gz
 URL:            http://search.cpan.org/dist/Catalyst-Plugin-SubRequest/
+# Patch taken from the debian package of this module
+# See rt.cpan.org #94392 for details
+Patch0:         Catalyst-Plugin-SubRequest-5.9.patch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:      noarch
 
@@ -15,15 +18,11 @@ BuildRequires:  perl(HTTP::Date)
 BuildRequires:  perl(HTTP::Request::AsCGI)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Time::HiRes)
 
 Requires:       perl(Catalyst::Runtime) >= 5.90000
 
-# obsolete/provide old tests subpackage
-# can be removed during F19 development cycle
-Obsoletes:      %{name}-tests < 0.17-3
-Provides:       %{name}-tests = %{version}-%{release}
-
 %{?perl_default_filter}
 
 %description
@@ -32,6 +31,7 @@ it will work like an external url call.
 
 %prep
 %setup -q -n Catalyst-Plugin-SubRequest-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -46,14 +46,21 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null 
\;
 %{_fixperms} %{buildroot}/*
 
 %check
-make test
+TEST_POD=1 make test
 
 %files
-%doc Changes README t/
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes README
+%{perl_vendorlib}/Catalyst*
+%{_mandir}/man3/Catalyst*
 
 %changelog
+* Wed Dec 10 2014 Emmanuel Seyman <emman...@seyman.fr> - 0.20-7
+- Apply Debian patch to make tests pass (#1172196)
+- Run all tests
+- Remove tests sub-package
+- Remove tests from documentation
+- Tighten file listing
+
 * Tue Sep 02 2014 Jitka Plesnikova <jples...@redhat.com> - 0.20-6
 - Perl 5.20 rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to