[perl-App-Cmd] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 07:58:04 UTC 2012


commit 600b99d21c1b055d5be8a8c1bf6ca37e93710651
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 08:57:47 2012 +0100

    drop tests subpackage

 perl-App-Cmd.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-App-Cmd.spec b/perl-App-Cmd.spec
index ffac9e6..f2abe83 100644
--- a/perl-App-Cmd.spec
+++ b/perl-App-Cmd.spec
@@ -1,7 +1,7 @@
 Name:           perl-App-Cmd
 Summary:        Write command line apps with less suffering
 Version:        0.314
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/App-Cmd-%{version}.tar.gz 
@@ -33,8 +33,12 @@ Requires:       perl(Getopt::Long::Descriptive) >= 0.084
 Requires:       perl(IO::TieCombine) >= 1
 Requires:       perl(Sub::Exporter) >= 0.975
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.314-2
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 App::Cmd is intended to make it easy to write complex command-line
@@ -63,11 +67,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 %files
-%doc Changes LICENSE README
+%doc Changes LICENSE README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.314-2
+- drop tests-subpackage; move tests to main package documentation
+
 * Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.314-1
 - Update to 0.314
 



More information about the perl-devel mailing list