commit 4c06c8c0e8aefa64a26612f8a26754f44dfae04a Author: Petr Pisar <ppisar@xxxxxxxxxx> Date: Mon Jul 25 11:32:17 2011 +0200 RPM 4.9 dependency filtering added perl-Devel-CheckOS.spec | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) --- diff --git a/perl-Devel-CheckOS.spec b/perl-Devel-CheckOS.spec index 73fe64c..c02b9fa 100644 --- a/perl-Devel-CheckOS.spec +++ b/perl-Devel-CheckOS.spec @@ -1,6 +1,6 @@ Name: perl-Devel-CheckOS Version: 1.64 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Check what OS we're running on License: GPLv2 or Artistic Group: Development/Libraries @@ -21,8 +21,12 @@ Requires: perl(File::Find::Rule) >= 0.28 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Remove unversioned requires +# RPM 4.8 style %filter_from_requires /perl(Data::Compare)$/d /perl(File::Find::Rule)$/d %filter_setup +# RPM 4.9 style +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(Data::Compare\\)$ +%global __requires_exclude %__requires_exclude|perl\\(File::Find::Rule\\)$ %description Devel::CheckOS provides a more friendly interface to $^O, and also lets you @@ -62,6 +66,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Jul 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 1.64-4 +- RPM 4.9 dependency filtering added + * Thu Jul 21 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.64-3 - 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