[perl-Catalyst-Runtime] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:28:23 UTC 2012


commit 13416e9906aa213b5a2b8eb29349a294aec41aaf
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:28:07 2012 +0100

    drop tests subpackage

 perl-Catalyst-Runtime.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-Catalyst-Runtime.spec b/perl-Catalyst-Runtime.spec
index 65df87e..5d4f38c 100644
--- a/perl-Catalyst-Runtime.spec
+++ b/perl-Catalyst-Runtime.spec
@@ -1,7 +1,7 @@
 Name:           perl-Catalyst-Runtime
 Summary:        Catalyst Framework Runtime
 Version:        5.90007
-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-Runtime-%{version}.tar.gz
@@ -108,8 +108,12 @@ Requires:       perl(Text::SimpleTable) >= 0.03
 Requires:       perl(Tree::Simple) >= 1.15
 Requires:       perl(URI) >= 1.35
 
+# obolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 5.90007-2
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This is the primary class for the Catalyst-Runtime distribution.  It provides
@@ -170,7 +174,7 @@ make test
 make clean
 
 %files
-%doc Changes COPYING* README
+%doc Changes COPYING* README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
@@ -179,6 +183,9 @@ make clean
 %{_mandir}/man1/*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 5.90007-2
+- drop tests subpackage; move tests to main package documentation
+
 * Thu Jan 12 2012 Iain Arnell <iarnell at gmail.com> 5.90007-1
 - update to latest upstream version
 - BR perldoc



More information about the perl-devel mailing list