drop tests subpackage

epel9
Iain Arnell 13 years ago
parent dddaf15985
commit aaa6114f8a

@ -1,7 +1,7 @@
Name: perl-DBIx-Class Name: perl-DBIx-Class
Summary: Extensible and flexible object <-> relational mapper Summary: Extensible and flexible object <-> relational mapper
Version: 0.08196 Version: 0.08196
Release: 1%{?dist} Release: 2%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/A/AR/ARODLAND/DBIx-Class-%{version}.tar.gz 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::autoclean) >= 0.09
BuildRequires: perl(namespace::clean) >= 0.20 BuildRequires: perl(namespace::clean) >= 0.20
# RPM 4.8 filters # obsolete/provide old tests subpackage
%{?filter_setup: # can be removed during F19 development cycle
%filter_from_requires /^perl(DBD::Pg)$/d Obsoletes: %{name}-tests < 0.08196-2
%filter_from_requires /^perl(DBIx::Class::\(Admin\|CDBICompat\|ClassResolver\|Storage\)/d Provides: %{name}-tests = %{version}-%{release}
%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
}
%?perl_default_filter %?perl_default_filter
%{?perl_default_subpackage_tests}
# RPM 4.9 filters
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(DBD::Pg\\)$ %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:%__requires_exclude|}perl\\(DBD::Pg\\)$
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::(Admin|CDBICompat|ClassResolver|Storage|Componentised|ResultSourceProxy) %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 make test
%files %files
%doc Changes README examples/ %doc Changes README examples/ t/
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_bindir}/* %{_bindir}/*
%{_mandir}/man[13]/* %{_mandir}/man[13]/*
%changelog %changelog
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.08196-2
- drop tests subpackage; move tests to main package documentation
- drop old-style filtering
* Thu Jan 12 2012 Iain Arnell <iarnell@gmail.com> 0.08196-1 * Thu Jan 12 2012 Iain Arnell <iarnell@gmail.com> 0.08196-1
- update to latest upstream version - update to latest upstream version

Loading…
Cancel
Save