RPM 4.9 dependency filtering added

epel9
Petr Sabata 14 years ago
parent cfbf22e8c4
commit 9cb2339a3e

@ -1,7 +1,7 @@
Name: perl-DBIx-Class
Summary: Extensible and flexible object <-> relational mapper
Version: 0.08127
Release: 4%{?dist}
Release: 5%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABRAXXA/DBIx-Class-%{version}.tar.gz
@ -87,6 +87,7 @@ BuildRequires: perl(Time::Piece::MySQL)
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_from_requires /^perl(DBIx::Class::\(Admin\|CDBICompat\|ClassResolver\|Storage\)/d
@ -108,6 +109,24 @@ BuildRequires: perl(namespace::clean) >= 0.20
%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)
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{perl_vendorlib}/DBIx/Class/Admin
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{perl_vendorlib}/DBIx/Class/Admin
%global __provides_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/CDBICompat
%global __requires_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/CDBICompat
%global __provides_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/PK/Auto
%global __requires_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/PK/Auto
%global __provides_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/SQLAHacks
%global __requires_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/SQLAHacks
%global __provides_exclude %__provides_exclude|perl\\(DBIx::Class::SQLAHacks\\)
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::SQLAHacks\\)
%global __provides_exclude %__provides_exclude|perl\\(DBIx::Class::Storage::DBIHacks\\)
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::Storage::DBIHacks\\)
%global __provides_exclude %__provides_exclude|perl\\(DBIx::Class::SQLMaker::\\)
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::SQLMaker::\\)
%description
This is an SQL to OO mapper with an object API inspired by Class::DBI
@ -168,6 +187,9 @@ rm -rf %{buildroot}
%changelog
* Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.08127-5
- RPM 4.9 dependency filtering added
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.08127-4
- Perl mass rebuild

Loading…
Cancel
Save