commit c15d9e16801b38f84296181d36717f5d8975adbf Author: Tom Callaway <spot@xxxxxxxxxxxxxxxxx> Date: Fri Jul 27 13:52:27 2012 -0400 add epel provides glue perl-List-MoreUtils.spec | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) --- diff --git a/perl-List-MoreUtils.spec b/perl-List-MoreUtils.spec index 8114324..683b026 100644 --- a/perl-List-MoreUtils.spec +++ b/perl-List-MoreUtils.spec @@ -1,6 +1,6 @@ Name: perl-List-MoreUtils Version: 0.33 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Provide the stuff missing in List::Util Group: Development/Libraries License: GPL+ or Artistic @@ -24,6 +24,13 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Don't "provide" private Perl libs %{?perl_default_filter} +%if 0%{?rhel} < 6 +%global _use_internal_dependency_generator 0 +%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u +%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" +%global __find_requires /bin/sh -c "%{__deploop R}" +%endif + %description List::MoreUtils provides some trivial but commonly needed functionality on lists that is not going to go into List::Util. @@ -58,6 +65,9 @@ rm -rf %{buildroot} %{_mandir}/man3/List::MoreUtils.3pm* %changelog +* Fri Jul 27 2012 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.33-5 +- add epel filtering mechanism + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.33-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_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