[perl-DBIx-Class] drop tests subpackage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit aaa6114f8a233862a78e9af4e750e3a986873e56
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Jan 22 10:23:06 2012 +0100

    drop tests subpackage

 perl-DBIx-Class.spec |   35 +++++++++++------------------------
 1 files changed, 11 insertions(+), 24 deletions(-)
---
diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec
index 1184428..f60e3dc 100644
--- a/perl-DBIx-Class.spec
+++ b/perl-DBIx-Class.spec
@@ -1,7 +1,7 @@
 Name:           perl-DBIx-Class
 Summary:        Extensible and flexible object <-> relational mapper
 Version:        0.08196
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/A/AR/ARODLAND/DBIx-Class-%{version}.tar.gz
@@ -85,29 +85,12 @@ BuildRequires: perl(Time::Piece::MySQL)
 BuildRequires: perl(namespace::autoclean) >= 0.09
 BuildRequires: perl(namespace::clean) >= 0.20
 
-# RPM 4.8 filters
-%{?filter_setup:
-%filter_from_requires /^perl(DBD::Pg)$/d
-%filter_from_requires /^perl(DBIx::Class::\(Admin\|CDBICompat\|ClassResolver\|Storage\)/d
-%filter_from_requires /^perl(DBIx::Class::\(Componentised\|ResultSourceProxy\)/d
-%filter_provides_in %{perl_vendorlib}/DBIx/Class/Admin
-%filter_requires_in %{perl_vendorlib}/DBIx/Class/Admin
-%filter_provides_in %{perl_vendorlib}/DBIx/Class/CDBICompat
-%filter_requires_in %{perl_vendorlib}/DBIx/Class/CDBICompat
-%filter_provides_in %{perl_vendorlib}/DBIx/Class/PK/Auto
-%filter_requires_in %{perl_vendorlib}/DBIx/Class/PK/Auto
-%filter_provides_in %{perl_vendorlib}/DBIx/Class/SQLAHacks
-%filter_requires_in %{perl_vendorlib}/DBIx/Class/SQLAHacks
-%filter_from_provides /^perl(DBIx::Class::SQLAHacks)/d
-%filter_from_requires /^perl(DBIx::Class::SQLAHacks)/d
-%filter_from_provides /^perl(DBIx::Class::Storage::DBIHacks)/d
-%filter_from_requires /^perl(DBIx::Class::Storage::DBIHacks)/d
-%filter_from_provides /^perl(DBIx::Class::SQLMaker::/d
-%filter_from_requires /^perl(DBIx::Class::SQLMaker::/d
-}
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.08196-2
+Provides:       %{name}-tests = %{version}-%{release}
+
 %?perl_default_filter
-%{?perl_default_subpackage_tests}
-# RPM 4.9 filters
 %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(DBD::Pg\\)$
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DBD::Pg\\)$
 %global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::(Admin|CDBICompat|ClassResolver|Storage|Componentised|ResultSourceProxy)
@@ -172,13 +155,17 @@ export DATA_DUMPER_TEST=1
 make test
 
 %files
-%doc Changes README examples/
+%doc Changes README examples/ t/
 %{perl_vendorlib}/*
 %{_bindir}/*
 %{_mandir}/man[13]/*
 
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.08196-2
+- drop tests subpackage; move tests to main package documentation
+- drop old-style filtering
+
 * Thu Jan 12 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.08196-1
 - update to latest upstream version
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux