[perl-Bio-Graphics] RPM 4.9 dependency filtering added

Petr Sabata psabata at fedoraproject.org
Fri Jul 22 13:22:05 UTC 2011


commit fd668ab7371768b9714978bc5affaf8142d0507c
Author: Petr Pisar <ppisar at redhat.com>
Date:   Fri Jul 22 15:19:11 2011 +0200

    RPM 4.9 dependency filtering added

 perl-Bio-Graphics.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-Bio-Graphics.spec b/perl-Bio-Graphics.spec
index fcf2384..04c4b6c 100644
--- a/perl-Bio-Graphics.spec
+++ b/perl-Bio-Graphics.spec
@@ -1,6 +1,6 @@
 Name:           perl-Bio-Graphics
 Version:        2.14
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Generate GD images of Bio::Seq objects
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -25,10 +25,13 @@ to draw sequence annotations, physical (contig) maps, protein domains,
 or any other type of map in which a set of discrete ranges need to be
 laid out on the number line
 
+# RPM 4.8 style
 %{?filter_setup:
 %filter_from_requires /^perl(colors)/d
 %{?perl_default_filter}
 }
+# RPM 4.9 style
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(colors\\)
 
 %prep
 %setup -q -n Bio-Graphics-%{version}
@@ -65,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 22 2011 Petr Pisar <ppisar at redhat.com> - 2.14-5
+- RPM 4.9 dependency filtering added
+
 * Thu Jul 21 2011 Petr Sabata <contyk at redhat.com> - 2.14-4
 - Perl mass rebuild
 


More information about the scm-commits mailing list