[perl-MooseX-Types-Common] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 11:01:24 UTC 2012


commit 370702defba2589e29482a7942618903541d2516
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 12:01:11 2012 +0100

    drop tests subpackage

 perl-MooseX-Types-Common.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/perl-MooseX-Types-Common.spec b/perl-MooseX-Types-Common.spec
index dcee2dc..eded53d 100644
--- a/perl-MooseX-Types-Common.spec
+++ b/perl-MooseX-Types-Common.spec
@@ -1,7 +1,7 @@
 Name:           perl-MooseX-Types-Common 
 Summary:        A library of commonly used type constraints 
 Version:        0.001004
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic 
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/A/AR/ARCANEZ/MooseX-Types-Common-%{version}.tar.gz
@@ -16,9 +16,12 @@ BuildRequires:  perl(MooseX::Types) >= 0.04
 BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.62
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.001004-2
+Provides:       %{name}-tests = %{version}-%{release}
 
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 A set of commonly-used type constraints that do not ship with Moose
@@ -43,11 +46,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 %files
-%doc README Changes 
+%doc README Changes t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.001004-2
+- drop tests subpackage; move tests to main package documentation
+
 * Thu Jan 12 2012 Iain Arnell <iarnell at gmail.com> 0.001004-1
 - update to latest upstream version
 - remove unnecessary explicit requires


More information about the scm-commits mailing list