[perl-CGI-Compile] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:34:02 UTC 2012


commit 162015d8311a9ca4ac19c68d9fd5e73a2fd3795b
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:33:50 2012 +0100

    drop tests subpackage

 perl-CGI-Compile.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-CGI-Compile.spec b/perl-CGI-Compile.spec
index b80a8da..4ee0237 100644
--- a/perl-CGI-Compile.spec
+++ b/perl-CGI-Compile.spec
@@ -1,7 +1,7 @@
 Name:           perl-CGI-Compile
 Summary:        Compile .cgi scripts to a code reference like ModPerl::Registry
 Version:        0.15
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Compile-%{version}.tar.gz 
@@ -17,8 +17,12 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::NoWarnings)
 BuildRequires:  perl(Test::Requires)
 
+# obsolete/provide tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.15-3
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 CGI::Compile is an utility to compile CGI scripts into a code reference
@@ -44,11 +48,14 @@ make test
 
 
 %files
-%doc Changes README
+%doc Changes README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.15-3
+- drop tests subpackage; move tests to main package documentation
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list