[perl-Text-Aligner] update filtering for rpm 4.9

Iain Arnell iarnell at fedoraproject.org
Mon Jul 25 03:23:59 UTC 2011


commit fc86ed8167fe650804e6b496d75761ef8168c4bb
Author: Iain Arnell <iarnell at gmail.com>
Date:   Mon Jul 25 05:23:20 2011 +0200

    update filtering for rpm 4.9

 perl-Text-Aligner.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/perl-Text-Aligner.spec b/perl-Text-Aligner.spec
index 3edb5b8..45f4dd7 100644
--- a/perl-Text-Aligner.spec
+++ b/perl-Text-Aligner.spec
@@ -1,6 +1,6 @@
 Name:           perl-Text-Aligner
 Version:        0.07
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Text::Aligner Perl module
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -15,8 +15,11 @@ BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(Term::ANSIColor) >= 2.01
 
+%{?perl_default_filter:
 %filter_from_requires /^perl(Term::ANSIColor)$/d
-%filter_setup
+%perl_default_filter
+}
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Term::ANSIColor\\)$
 
 %description
 Text::Aligner exports a single function, align(), which is used to justify
@@ -54,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 25 2011 Iain Arnell <iarnell at gmail.com> 0.07-5
+- update filtering for rpm 4.9
+
 * Fri Jun 17 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.07-4
 - Perl mass rebuild
 


More information about the scm-commits mailing list