|
|
|
@ -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@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
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
|
|