[perl-Catalyst-Devel] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:04:12 UTC 2012


commit e28b1972e67b94b32330bacc43b7c975051d6da3
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:04:00 2012 +0100

    drop tests subpackage

 perl-Catalyst-Devel.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/perl-Catalyst-Devel.spec b/perl-Catalyst-Devel.spec
index 0f83c6d..cee8532 100644
--- a/perl-Catalyst-Devel.spec
+++ b/perl-Catalyst-Devel.spec
@@ -1,7 +1,7 @@
 Name:           perl-Catalyst-Devel
 Summary:        Catalyst Development Tools
 Version:        1.36
-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-Devel-%{version}.tar.gz
@@ -48,9 +48,12 @@ Requires:       perl(Starman)
 Requires:       perl(Template) >= 2.14
 Requires:       perl-Catalyst-Runtime-scripts
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 1.36-2
+Provides:       %{name}-tests = %{version}-%{release}
 
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 The Catalyst::Devel package includes a variety of modules useful for the
@@ -77,13 +80,16 @@ make test
 
 
 %files
-%doc Changes
+%doc Changes t/
 %{perl_vendorlib}/*
 %{_mandir}/man[13]/*
 # we don't need this, and it's causing dep problems.
 %exclude %{perl_vendorlib}/Catalyst/Restarter/Win32.pm
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 1.36-2
+- drop old tests subpackage; move tests to main package documentation
+
 * Thu Jan 12 2012 Iain Arnell <iarnell at gmail.com> 1.36-1
 - update to latest upstream version
 - clean up spec for moderm rpmbuild



More information about the perl-devel mailing list