[perl-CPAN-Mini] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:57:55 UTC 2012


commit 84f40f874a0e023d69a6a4126ea21474fbbdef58
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:57:41 2012 +0100

    drop tests subpackage

 perl-CPAN-Mini.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-CPAN-Mini.spec b/perl-CPAN-Mini.spec
index 7110691..972fedb 100644
--- a/perl-CPAN-Mini.spec
+++ b/perl-CPAN-Mini.spec
@@ -1,7 +1,7 @@
 Name:           perl-CPAN-Mini
 Summary:        Create a minimal mirror of CPAN
 Version:        1.111007
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/CPAN-Mini-%{version}.tar.gz 
@@ -25,8 +25,12 @@ BuildRequires:  perl(Pod::Usage) >= 1.00
 BuildRequires:  perl(Test::More) >= 0.96
 BuildRequires:  perl(URI) >= 1
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 1.111007-3
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 CPAN::Mini provides a simple mechanism to build and update a minimal 
@@ -54,12 +58,15 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%doc Changes LICENSE README
+%doc Changes LICENSE README t/
 %{_bindir}/*
 %{perl_vendorlib}/*
 %{_mandir}/man[13]/*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 1.111007-3
+- drop tests subpackage; move tests to main package documentation
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.111007-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list