[perl-Catalyst-Plugin-Session] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:16:55 UTC 2012


commit 91a764285cda390699707b19f4595be490922f72
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:16:43 2012 +0100

    drop tests subpackage

 perl-Catalyst-Plugin-Session.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/perl-Catalyst-Plugin-Session.spec b/perl-Catalyst-Plugin-Session.spec
index b115967..2284065 100644
--- a/perl-Catalyst-Plugin-Session.spec
+++ b/perl-Catalyst-Plugin-Session.spec
@@ -1,7 +1,7 @@
 Name:           perl-Catalyst-Plugin-Session
 Summary:        Catalyst generic session plugin
 Version:        0.32
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Session-%{version}.tar.gz 
@@ -33,9 +33,12 @@ BuildRequires:  perl(Test::WWW::Mechanize::Catalyst) >= 0.51
 Requires:       perl(Catalyst::Runtime) >= 5.71001
 Requires:       perl(MooseX::Emulate::Class::Accessor::Fast) >= 0.00801
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.32-2
+Provides:       %{name}-tests = %{version}-%{release}
 
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This plugin is the base of two related parts of functionality
@@ -73,11 +76,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%doc Changes README
+%doc Changes README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.32-2
+- drop tests subpackage; move tests to main package documentation
+
 * Fri Jan 20 2012 Iain Arnell <iarnell at gmail.com> 0.32-1
 - update to latest upstream version
 - remove unnecessary explicit dependencies



More information about the perl-devel mailing list