[perl-Plack] Split out perl-Plack-Test to avoid dependency on Test::More (RHBZ #1052859).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 0ff72a2e42d227cf1b935f40cd5cfa3d99bc2190
Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Wed Jan 15 08:15:04 2014 +0100

    Split out perl-Plack-Test to avoid dependency on Test::More (RHBZ #1052859).

 perl-Plack.spec |   31 +++++++++++++++++++++++++++----
 1 files changed, 27 insertions(+), 4 deletions(-)
---
diff --git a/perl-Plack.spec b/perl-Plack.spec
index 5a1be7c..18f1ed5 100644
--- a/perl-Plack.spec
+++ b/perl-Plack.spec
@@ -1,6 +1,6 @@
 Name:           perl-Plack
 Version:        1.0030
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -75,6 +75,13 @@ Plack is a set of tools for using the PSGI stack. It contains middleware
 components, a reference server and utilities for Web application
 frameworks. Plack is like Ruby's Rack or Python's Paste for WSGI.
 
+%package Test
+Summary: Test-modules for perl-Plack
+Requires: perl-Plack = %{version}-%{release}
+
+%description Test
+%{summary}.
+
 %prep
 %setup -q -n Plack-%{version}
 
@@ -106,16 +113,32 @@ make test %{?_with_apache:TEST_APACHE2=1 TEST_FCGI_CLIENT=1}
 %{perl_vendorlib}/Plack
 %{perl_vendorlib}/Plack.pm
 %{perl_vendorlib}/HTTP
-# Used by Plack/Test
-%{perl_vendorlib}/auto/*
-%exclude %{perl_vendorlib}/auto/share/dist/Plack/#foo
 # Abandoned/Unsupported in Fedora: Apache1
 %exclude %{perl_vendorlib}/Plack/Server/Apache1.pm
 %exclude %{perl_vendorlib}/Plack/Handler/Apache1.pm
+# Packaged separately in perl-Plack-Test
+%exclude %{perl_vendorlib}/Plack/Test
+%exclude %{perl_vendorlib}/Plack/Test.pm
+%exclude %{perl_vendorlib}/auto/*
+%exclude %{_mandir}/man3/Plack::Test*
+
+# Don't package
+%exclude %{perl_vendorlib}/auto/share/dist/Plack/#foo
 
 %{_mandir}/man3/*
 
+%files Test
+%{_mandir}/man3/Plack::Test*
+%dir %{perl_vendorlib}/Plack
+%{perl_vendorlib}/Plack/Test
+%{perl_vendorlib}/Plack/Test.pm
+# Used by Plack/Test/Suite.pm
+%{perl_vendorlib}/auto/*
+
 %changelog
+* Wed Jan 15 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1.0030-2
+- Split out perl-Plack-Test to avoid dependency on Test::More (RHBZ #1052859).
+
 * Mon Dec 30 2013 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1.0030-1
 - Upstream update.
 
--
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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux