commit 62be7f1f52c4327bfaf3ae0a1642946ce5b899c1
Author: Marcela Mašláňová <mmasl...@redhat.com>
Date:   Tue Jul 26 10:07:46 2011 +0200

    add RPM4.9 macro filter

 perl-Perl-Metrics-Simple.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-Perl-Metrics-Simple.spec b/perl-Perl-Metrics-Simple.spec
index 945ba40..9cf395c 100644
--- a/perl-Perl-Metrics-Simple.spec
+++ b/perl-Perl-Metrics-Simple.spec
@@ -1,6 +1,6 @@
 Name:           perl-Perl-Metrics-Simple
 Version:        0.15
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Count packages, subs, lines, etc. of many files
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -34,6 +34,11 @@ Requires:   perl(Readonly::XS) >= 1.02
 %filter_from_requires /^perl(PPI)$/d
 %filter_from_requires /^perl(Readonly)$/d
 %filter_setup
+# RPM 4.9 filter style
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}perl\\(File::Find\\)$
+%global __requires_exclude %__requires_exclude|perl\\(IO::File\\)$
+%global __requires_exclude %__requires_exclude|perl\\(PPI\\)$
+%global __requires_exclude %__requires_exclude|perl\\(Readonly\\)$
 
 %description
 Perl::Metrics::Simple provides just enough methods to run static analysis
@@ -65,6 +70,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %{_mandir}/man1/*
 
 %changelog
+* Tue Jul 26 2011 Marcela Mašláňová <mmasl...@redhat.com> - 0.15-4
+- add RPM4.9 macro filter
+
 * Wed Jun 29 2011 Marcela Mašláňová <mmasl...@redhat.com> - 0.15-3
 - Perl mass rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to