[perl-Catalyst-Model-DBIC-Schema] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:12:15 UTC 2012


commit ff883f34fbc4f303caeecfbde6d27ff7269eac43
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:12:05 2012 +0100

    drop tests subpackage

 perl-Catalyst-Model-DBIC-Schema.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/perl-Catalyst-Model-DBIC-Schema.spec b/perl-Catalyst-Model-DBIC-Schema.spec
index 002a4de..da89d02 100644
--- a/perl-Catalyst-Model-DBIC-Schema.spec
+++ b/perl-Catalyst-Model-DBIC-Schema.spec
@@ -1,7 +1,7 @@
 Name:           perl-Catalyst-Model-DBIC-Schema
 Summary:        DBIx::Class::Schema Model Class
 Version:        0.59
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/Catalyst-Model-DBIC-Schema-%{version}.tar.gz
@@ -48,9 +48,12 @@ Requires:       perl(Hash::Merge)
 Requires:       perl(Moose) >= 1.12
 Requires:       perl(MooseX::NonMoose) >= 0.16
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.59-2
+Provides:       %{name}-tests = %{version}-%{release}
 
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This is a Catalyst Model for DBIx::Class::Schema-based Models. See the
@@ -76,11 +79,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 TEST_POD=1 C_M_DBIC_SCHEMA_TESTAPP=1 make 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.59-2
+- drop tests subpackage; move tests to main package documentation
+
 * Thu Jan 12 2012 Iain Arnell <iarnell at gmail.com> 0.59-1
 - update to latest upstream version
 



More information about the perl-devel mailing list