[perl-bioperl] RPM 4.9 dependency filtering added
Petr Sabata
psabata at fedoraproject.org
Fri Jul 22 12:17:04 UTC 2011
commit 0ede80aaf15914226251f231a2be8d092ff79708
Author: Petr Pisar <ppisar at redhat.com>
Date: Fri Jul 22 14:05:11 2011 +0200
RPM 4.9 dependency filtering added
perl-bioperl.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/perl-bioperl.spec b/perl-bioperl.spec
index ba5ee74..6bf4548 100644
--- a/perl-bioperl.spec
+++ b/perl-bioperl.spec
@@ -1,6 +1,6 @@
Name: perl-bioperl
Version: 1.6.1
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Perl tools for computational molecular biology
Group: Development/Libraries
@@ -59,8 +59,11 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Bio::Tools::Run::* module requirements; they are either self-satisfied
# (and thus redundant) or they bring dependency on perl-bioperl-run.
## be careful when commenting this out: macros are expanded even in comments
+# RPM 4.8 style
#%%filter_from_requires /perl(Bio::Tools::Run::/d
#%%?perl_default_filter
+# RPM 4.9 style
+#%%global __requires_exclude %%{?__requires_exclude?__requires_exclude|}perl\\(Bio::Tools::Run::
%description
BioPerl is a toolkit of Perl modules useful in building bioinformatics
@@ -68,10 +71,13 @@ solutions in Perl. It is built in an object-oriented manner so that
many modules depend on each other to achieve a task.
+# RPM 4.8 style
%{?filter_setup:
%filter_from_requires /perl(Bio::Expression::FeatureSet)/d
%{?perl_default_filter}
}
+# RPM 4.9 style
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(Bio::Expression::FeatureSet\\)
%prep
%setup -q -n BioPerl-%{version}
@@ -133,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
+* Fri Jul 22 2011 Petr Pisar <ppisar at redhat.com> - 1.6.1-10
+- RPM 4.9 dependency filtering added
+
* Thu Jul 21 2011 Petr Sabata <contyk at redhat.com> - 1.6.1-9
- Perl mass rebuild
More information about the scm-commits
mailing list