[perl-DBIx-Class] RPM 4.9 dependency filtering added

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

 



commit 9cb2339a3e78e87375d3b316f2326271a39af0bf
Author: Petr Sabata <contyk@xxxxxxxxxx>
Date:   Fri Jul 22 16:56:50 2011 +0200

    RPM 4.9 dependency filtering added

 perl-DBIx-Class.spec |   24 +++++++++++++++++++++++-
 1 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec
index 931361f..7c4f8f6 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.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@xxxxxxxxxx> - 0.08127-5
+- RPM 4.9 dependency filtering added
+
 * Thu Jul 21 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.08127-4
 - Perl mass rebuild
 
--
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