From 81667eab65bd2d8b6537db59d41aac8537e04f08 Mon Sep 17 00:00:00 2001 From: Petr Pisar Date: Fri, 22 Jul 2011 13:33:08 +0200 Subject: [PATCH] RPM 4.9 dependency filtering added --- perl-AppConfig.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-AppConfig.spec b/perl-AppConfig.spec index 071d191..fb5a501 100644 --- a/perl-AppConfig.spec +++ b/perl-AppConfig.spec @@ -1,6 +1,6 @@ Name: perl-AppConfig Version: 1.66 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Perl module for reading configuration files Group: Development/Libraries @@ -24,10 +24,13 @@ develop the functionality of this package and its features will automatically become available through AppConfig. # filter out the unversioned provide AppConfig::State from Getopt.pm: +# RPM 4.8 style %{?filter_setup: %filter_from_provides /^perl(AppConfig::State)$/d %?perl_default_filter } +# RPM 4.9 style +%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(AppConfig::State\\)$ %prep @@ -63,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jul 22 2011 Petr Pisar - 1.66-14 +- RPM 4.9 dependency filtering added + * Thu Jul 21 2011 Petr Sabata - 1.66-13 - Perl mass rebuild