commit bb50ed7d36f209c9fa987ebf5c04e78dfaedf9ff Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue May 21 22:53:04 2013 +0100 Update to 0.34 - New upstream release 0.34 - Replace Text::Soundex in tests with Class::Struct, since Text::Soundex will not be in core in Perl 5.19 and up - Replace ExtUtils::MY_Metafile with META_MERGE in Makefile.PL perl-Module-Info.spec | 17 ++++++++++++++--- sources | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) --- diff --git a/perl-Module-Info.spec b/perl-Module-Info.spec index 0e0b5f6..9ae9952 100644 --- a/perl-Module-Info.spec +++ b/perl-Module-Info.spec @@ -1,5 +1,8 @@ +# Provides/Requires filtering is different from rpm 4.9 onwards +%global rpm49 %(rpm --version | perl -pi -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e') + Name: perl-Module-Info -Version: 0.33 +Version: 0.34 Release: 1%{?dist} Summary: Information about Perl modules License: GPL+ or Artistic @@ -9,6 +12,7 @@ Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-%{versio BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch BuildRequires: perl(Carp) +BuildRequires: perl(Class::Struct) BuildRequires: perl(Cwd) BuildRequires: perl(File::Spec) BuildRequires: perl(lib) @@ -16,7 +20,6 @@ BuildRequires: perl(Module::Build) BuildRequires: perl(Safe) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 -BuildRequires: perl(Text::Soundex) BuildRequires: perl(version) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Safe) @@ -33,9 +36,11 @@ code. %prep %setup -q -n Module-Info-%{version} -# We don't really provide perl(B::Utils) [filter for rpm < 4.10] +# We don't really provide perl(B::Utils) [filter for rpm < 4.9] +%if ! %{rpm49} %global provfilt /bin/sh -c "%{__perl_provides} | grep -Ev '^perl\\(B::Utils\\)'" %define __perl_provides %{provfilt} +%endif %build perl Build.PL installdirs=vendor @@ -60,6 +65,12 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue May 21 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.34-1 +- Update to 0.34 + - Replace Text::Soundex in tests with Class::Struct, since Text::Soundex will + not be in core in Perl 5.19 and up + - Replace ExtUtils::MY_Metafile with META_MERGE in Makefile.PL + * Sun Feb 10 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.33-1 - Update to 0.33 - Fix tests under Perl 5.6.2 when some core modules have been upgraded diff --git a/sources b/sources index b8ba29a..34efc92 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -422824cc46ba6b571f2319ba1cf5f2f9 Module-Info-0.33.tar.gz +13a912e1ddbca467d4e15e3a7f0acd0c Module-Info-0.34.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