[perl-Class-Mix] drop tests subpackage

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


commit 7d22d91b1b7dbf94915660fe284d4fa97c768b78
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:53:51 2012 +0100

    drop tests subpackage

 perl-Class-Mix.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-Class-Mix.spec b/perl-Class-Mix.spec
index b0b6809..30ce9a1 100644
--- a/perl-Class-Mix.spec
+++ b/perl-Class-Mix.spec
@@ -1,7 +1,7 @@
 Name:           perl-Class-Mix
 Summary:        Dynamic class mixing
 Version:        0.005
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Class-Mix-%{version}.tar.gz 
@@ -23,8 +23,12 @@ BuildRequires:  perl(Test::Pod::Coverage)
 
 Requires:       perl(Exporter)
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.005-3
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 The mix_class function provided by this module dynamically generates
@@ -47,11 +51,14 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 ./Build test
 
 %files
-%doc Changes README
+%doc Changes README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.005-3
+- drop tests subpackage; move tests to main package documentation
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.005-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list