|
|
|
@ -1,24 +1,23 @@
|
|
|
|
|
Name: perl-DBIx-Class
|
|
|
|
|
Summary: Extensible and flexible object <-> relational mapper
|
|
|
|
|
Version: 0.08127
|
|
|
|
|
Release: 5.1%{?dist}
|
|
|
|
|
Version: 0.08195
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABRAXXA/DBIx-Class-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/DBIx-Class/
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp::Clan) >= 6.0
|
|
|
|
|
BuildRequires: perl(Class::Accessor::Grouped) >= 0.10002
|
|
|
|
|
BuildRequires: perl(Class::C3::Componentised) >= 1.0005
|
|
|
|
|
BuildRequires: perl(Class::C3::Componentised) >= 1.0009
|
|
|
|
|
BuildRequires: perl(Class::Inspector) >= 1.24
|
|
|
|
|
BuildRequires: perl(Class::ISA)
|
|
|
|
|
BuildRequires: perl(Config::Any) >= 0.20
|
|
|
|
|
BuildRequires: perl(Context::Preserve) >= 0.01
|
|
|
|
|
BuildRequires: perl(CPAN)
|
|
|
|
|
BuildRequires: perl(Data::Dumper::Concise) >= 1.000
|
|
|
|
|
BuildRequires: perl(Data::Compare) >= 1.22
|
|
|
|
|
BuildRequires: perl(Data::Dumper::Concise) >= 2.020
|
|
|
|
|
BuildRequires: perl(Data::Page) >= 2.00
|
|
|
|
|
BuildRequires: perl(DBD::SQLite) >= 1.29
|
|
|
|
|
BuildRequires: perl(DBI) >= 1.609
|
|
|
|
@ -29,6 +28,7 @@ BuildRequires: perl(Math::Base36) >= 0.07
|
|
|
|
|
BuildRequires: perl(Math::BigInt) >= 1.89
|
|
|
|
|
BuildRequires: perl(Module::Find) >= 0.06
|
|
|
|
|
BuildRequires: perl(MRO::Compat) >= 0.09
|
|
|
|
|
BuildRequires: perl(Package::Stash) >= 0.28
|
|
|
|
|
BuildRequires: perl(Path::Class) >= 0.18
|
|
|
|
|
BuildRequires: perl(Scope::Guard) >= 0.03
|
|
|
|
|
BuildRequires: perl(SQL::Abstract) >= 1.72
|
|
|
|
@ -42,13 +42,13 @@ BuildRequires: perl(Text::CSV_XS)
|
|
|
|
|
BuildRequires: perl(Try::Tiny) >= 0.04
|
|
|
|
|
BuildRequires: perl(Variable::Magic) >= 0.44
|
|
|
|
|
|
|
|
|
|
Requires: perl(Carp::Clan) >= 6.0
|
|
|
|
|
Requires: perl(Class::Accessor::Grouped) >= 0.10002
|
|
|
|
|
Requires: perl(Class::C3::Componentised) >= 1.0005
|
|
|
|
|
Requires: perl(Class::C3::Componentised) >= 1.0009
|
|
|
|
|
Requires: perl(Class::Inspector) >= 1.24
|
|
|
|
|
Requires: perl(Config::Any) >= 0.20
|
|
|
|
|
Requires: perl(Context::Preserve) >= 0.01
|
|
|
|
|
Requires: perl(Data::Dumper::Concise) >= 1.000
|
|
|
|
|
Requires: perl(Data::Compare) >= 1.22
|
|
|
|
|
Requires: perl(Data::Dumper::Concise) >= 2.020
|
|
|
|
|
Requires: perl(Data::Page) >= 2.00
|
|
|
|
|
Requires: perl(DBI) >= 1.609
|
|
|
|
|
Requires: perl(Module::Find) >= 0.06
|
|
|
|
@ -88,8 +88,8 @@ BuildRequires: perl(namespace::autoclean) >= 0.09
|
|
|
|
|
BuildRequires: perl(namespace::clean) >= 0.20
|
|
|
|
|
|
|
|
|
|
# RPM 4.8 filters
|
|
|
|
|
%{?filter_from_requires: %filter_from_requires /^perl(DBD::Pg)$/d }
|
|
|
|
|
%{?perl_default_filter:
|
|
|
|
|
%{?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
|
|
|
|
@ -106,8 +106,8 @@ BuildRequires: perl(namespace::clean) >= 0.20
|
|
|
|
|
%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\\)$
|
|
|
|
@ -158,8 +158,6 @@ chmod -c +x script/*
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
@ -175,11 +173,7 @@ export DBICTEST_STORAGE_STRESS=1
|
|
|
|
|
export DATA_DUMPER_TEST=1
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README examples/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_bindir}/*
|
|
|
|
@ -187,6 +181,11 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.08195-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
- minor filtering tweak
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.08127-5.1
|
|
|
|
|
- Fix the filters for perl(DBIx::Class::SQLMaker*)
|
|
|
|
|
|
|
|
|
|