commit 340248ef60883ba20f9bbc362852db58d0e085a3 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Jun 6 09:20:01 2012 +0100 Update to 0.984 - New upstream release 0.984 (documentation fixes) - Add filters for provides/requires from the test suite - BR: perl(base) and perl(Exporter) for the test suite perl-Sub-Exporter.spec | 21 +++++++++++++++++++-- sources | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-) --- diff --git a/perl-Sub-Exporter.spec b/perl-Sub-Exporter.spec index 3a60b62..694801b 100644 --- a/perl-Sub-Exporter.spec +++ b/perl-Sub-Exporter.spec @@ -1,6 +1,6 @@ Name: perl-Sub-Exporter -Version: 0.982 -Release: 11%{?dist} +Version: 0.984 +Release: 1%{?dist} Summary: Sophisticated exporter for custom-built routines License: GPL+ or Artistic Group: Development/Libraries @@ -17,11 +17,17 @@ BuildRequires: perl(Package::Generator) BuildRequires: perl(Params::Util) >= 0.14 BuildRequires: perl(Sub::Install) >= 0.92 # Test suite +BuildRequires: perl(base) +BuildRequires: perl(Exporter) BuildRequires: perl(Test::More) # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Package::Generator) +# Don't want doc-file provides or dependencies +%global __provides_exclude_from ^%{_datadir}/doc/%{name}-%{version}/ +%global __requires_exclude_from ^%{_datadir}/doc/%{name}-%{version}/ + %description Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows for renaming, currying/sub-generation, and other cool stuff. @@ -35,6 +41,12 @@ Sub::Exporter::Tutorial first! # Fix shellbangs find t/ -type f -exec sed -i -e 's|^#!perl|#!/usr/bin/perl|' {} \; +# Filter bogus provides/requires if we don't have rpm ≥ 4.9 +%global provfilt /bin/sh -c "%{__perl_provides} | grep -Ev '^perl[(]Test::SubExporter.*[)]'" +%define __perl_provides %{provfilt} +%global reqfilt /bin/sh -c "%{__perl_requires} | grep -Ev '^perl[(](base|Test::SubExporter.*)[)]'" +%define __perl_requires %{reqfilt} + %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -65,6 +77,11 @@ rm -rf %{buildroot} %{_mandir}/man3/Sub::Exporter::Util.3pm* %changelog +* Tue Jun 5 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.984-1 +- Update to 0.984 (documentation fixes) +- Add filters for provides/requires from the test suite +- BR: perl(base) and perl(Exporter) for the test suite + * Sun Mar 18 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.982-11 - Drop %%defattr, redundant since rpm 4.4 diff --git a/sources b/sources index b6f3b39..4014992 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -db90a0d73a5ca2d185dd6c6d2fc848f0 Sub-Exporter-0.982.tar.gz +cfa19c5f09bc08f49174856c0bfd7849 Sub-Exporter-0.984.tar.gz -- 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