Update to 1.20120705

- New upstream release 1.20120705
  - Resolved PAUSE packaging nit (CPAN RT#77110)
  - Converted to dzil
- Drop provides filter, not needed due to fix for CPAN RT#77110
- Classify buildreqs by what they are required for
- BR: perl(Test::Builder::Module) rather than perl(Test::Simple) ≥ 0.61
- BR: perl(base), perl(lib) and perl(Test::More)
This commit is contained in:
Paul Howarth 2012-07-06 11:13:34 +01:00
parent 3f179e51b7
commit 7f3f6f2055
2 changed files with 21 additions and 12 deletions

View File

@ -1,6 +1,6 @@
Name: perl-SUPER Name: perl-SUPER
Version: 1.17 Version: 1.20120705
Release: 8%{?dist} Release: 1%{?dist}
Summary: Sane superclass method dispatcher Summary: Sane superclass method dispatcher
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -8,19 +8,23 @@ URL: http://search.cpan.org/dist/SUPER/
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch BuildArch: noarch
# =============== Module Build =================
BuildRequires: perl(Module::Build)
# =============== Module Runtime ===============
BuildRequires: perl(base)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Scalar::Util) >= 1.20 BuildRequires: perl(Scalar::Util) >= 1.20
BuildRequires: perl(Sub::Identify) >= 0.03 BuildRequires: perl(Sub::Identify) >= 0.03
BuildRequires: perl(Test::Simple) >= 0.61 # =============== Test Suite ===================
BuildRequires: perl(lib)
BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(Test::More)
# =============== Module Runtime ===============
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Scalar::Util) >= 1.20 Requires: perl(Scalar::Util) >= 1.20
Requires: perl(Sub::Identify) >= 0.03 Requires: perl(Sub::Identify) >= 0.03
# Filter out bogus provides (rpm 4.9 onwards)
%global __provides_exclude ^perl\\((DB|UNIVERSAL)\\)
%description %description
When subclassing a class, you occasionally want to dispatch control to the When subclassing a class, you occasionally want to dispatch control to the
superclass - at least conditionally and temporarily. This module provides superclass - at least conditionally and temporarily. This module provides
@ -30,10 +34,6 @@ implementation.
%prep %prep
%setup -q -n SUPER-%{version} %setup -q -n SUPER-%{version}
# Filter out bogus provides (prior to rpm 4.9)
%global provfilt /bin/sh -c "%{__perl_provides} | grep -Evx 'perl[(](DB|UNIVERSAL)[)]'"
%define __perl_provides %{provfilt}
%build %build
perl Build.PL installdirs=vendor perl Build.PL installdirs=vendor
./Build ./Build
@ -55,6 +55,15 @@ rm -rf %{buildroot}
%{_mandir}/man3/SUPER.3pm* %{_mandir}/man3/SUPER.3pm*
%changelog %changelog
* Fri Jul 6 2012 Paul Howarth <paul@city-fan.org> - 1.20120705-1
- Update to 1.20120705
- Resolved PAUSE packaging nit (CPAN RT#77110)
- Converted to dzil
- Drop provides filter, not needed due to fix for CPAN RT#77110
- Classify buildreqs by what they are required for
- BR: perl(Test::Builder::Module) rather than perl(Test::Simple) 0.61
- BR: perl(base), perl(lib) and perl(Test::More)
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.17-8 * Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.17-8
- Perl 5.16 rebuild - Perl 5.16 rebuild

View File

@ -1 +1 @@
aa54aa7e9148c368091e34559587f3b2 SUPER-1.17.tar.gz 0eee5ff59b912f9baa5dc852681238a0 SUPER-1.20120705.tar.gz