[perl-namespace-clean] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 10:40:56 UTC 2012


commit cd9eb1c0552944c64459a6804bed4983a1a07f0a
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 11:40:37 2012 +0100

    drop tests subpackage

 perl-namespace-clean.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-namespace-clean.spec b/perl-namespace-clean.spec
index 4d19904..44a0a0c 100644
--- a/perl-namespace-clean.spec
+++ b/perl-namespace-clean.spec
@@ -1,7 +1,7 @@
 Name:           perl-namespace-clean
 Summary:        Keep your namespace tidy
 Version:        0.21
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/namespace-clean-%{version}.tar.gz
@@ -27,8 +27,12 @@ Requires:       perl(B::Hooks::EndOfScope) >= 0.07
 Requires:       perl(Sub::Identify) >= 0.04
 Requires:       perl(Sub::Name) >= 0.04
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.21-3
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 When you define a function, or import one, into a Perl package, it will
@@ -60,11 +64,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 %files
-%doc Changes
+%doc Changes t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.21-3
+- drop tests subpackage; move tests to main package documentation
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.21-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list