From e3f41da47b3dbb2d600a58429669c4cab6094657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Kasal?= Date: Fri, 5 Mar 2010 18:04:28 +0000 Subject: [PATCH] - filter also requires for "hidden" package declarations --- perl-DBIx-Class.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec index 02be5e8..c323d35 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.08119 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz @@ -104,8 +104,14 @@ BuildRequires: perl(Moose) >= 0.98 BuildRequires: perl(MooseX::Types) >= 0.21 BuildRequires: perl(namespace::clean) >= 0.11 -%{?filter_from_requires: %filter_from_requires /^perl(DBD::Pg)/d } -%{?perl_default_filter} +# the package intentionally hides some package declarations +# from automatic parser; avoid requiring any of these: + +%{?perl_default_filter: +%filter_from_requires /^perl(DBIx::Class::\(Admin\|CDBICompat\|ClassResolver\|Storage\)/d +%filter_from_requires /^perl(DBD::Pg)/d +%perl_default_filter +} %{?perl_default_subpackage_tests} %description @@ -165,6 +171,9 @@ rm -rf %{buildroot} %changelog +* Fri Mar 5 2010 Stepan Kasal 0.08119-3 +- filter also requires for "hidden" package declarations + * Thu Mar 04 2010 Chris Weyl 0.08119-2 - add ok to BR (unlisted optional testing dep)