[perl-Catalyst-Manual] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:07:37 UTC 2012


commit 52ed0105fdbad5c413aa4527226ac6614aa36889
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:07:30 2012 +0100

    drop tests subpackage

 perl-Catalyst-Manual.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-Catalyst-Manual.spec b/perl-Catalyst-Manual.spec
index 7dd6da0..18791c1 100644
--- a/perl-Catalyst-Manual.spec
+++ b/perl-Catalyst-Manual.spec
@@ -2,7 +2,7 @@ Name:           perl-Catalyst-Manual
 Summary:        Catalyst web framework manual
 Epoch:          1
 Version:        5.9002
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/H/HK/HKCLARK/Catalyst-Manual-%{version}.tar.gz
@@ -13,8 +13,12 @@ BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(Test::More)
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 1:5.9002-3
+Provides:       %{name}-tests = %{epoch}:%{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This is the manual to the Catalyst web framework.
@@ -41,11 +45,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> 1:5.9002-3
+- drop tests subpackage; move tests to main package documentation
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:5.9002-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list