commit 78c2e7a67bcdd064f416aecaeb085818425f845a Author: Petr Pisar <ppisar@xxxxxxxxxx> Date: Mon Jul 25 11:10:17 2011 +0200 RPM 4.9 dependency filtering added perl-DBD-CSV.spec | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) --- diff --git a/perl-DBD-CSV.spec b/perl-DBD-CSV.spec index 5ed88d3..4ca855b 100644 --- a/perl-DBD-CSV.spec +++ b/perl-DBD-CSV.spec @@ -1,6 +1,6 @@ Name: perl-DBD-CSV Version: 0.31 -Release: 4%{?dist} +Release: 5%{?dist} Summary: DBI driver for CSV files Group: Development/Libraries @@ -25,9 +25,13 @@ Requires: perl(SQL::Statement) >= 1.31 # Requires >= 0.71, but 0.73 is recommended Requires: perl(Text::CSV_XS) >= 0.71 +# RPM 4.8 style %filter_from_requires /^perl(DBD::File)$/d %filter_from_requires /^perl(Text::CSV_XS)$/d %filter_setup +# RPM 4.9 style +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(DBD::File\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Text::CSV_XS\\)$ %description The DBD::CSV module is yet another driver for the DBI (Database @@ -73,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jul 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 0.31-5 +- RPM 4.9 dependency filtering added + * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.31-4 - 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