Update to 1.20141116

- New upstream release 1.20141116
  - Resolved Test::More changes (CPAN RT#97939)
- Switch to ExtUtils::MakeMaker flow
epel9
Paul Howarth 10 years ago
parent 3b4239c83e
commit 79bf3ff34a

@ -1,6 +1,6 @@
Name: perl-SUPER
Version: 1.20120705
Release: 7%{?dist}
Version: 1.20141116
Release: 1%{?dist}
Summary: Sane superclass method dispatcher
License: GPL+ or Artistic
Group: Development/Libraries
@ -9,16 +9,18 @@ Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# =============== Module Build =================
BuildRequires: perl(Module::Build)
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# =============== Module Runtime ===============
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(Scalar::Util) >= 1.20
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Identify) >= 0.03
BuildRequires: perl(warnings)
# =============== 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))
@ -35,16 +37,17 @@ implementation.
%setup -q -n SUPER-%{version}
%build
perl Build.PL installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot} create_packlist=0
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check
./Build test
make test
%clean
rm -rf %{buildroot}
@ -52,9 +55,14 @@ rm -rf %{buildroot}
%files
%doc Changes README
%{perl_vendorlib}/SUPER.pm
%{_mandir}/man3/SUPER.3pm*
%{_mandir}/man3/SUPER.3*
%changelog
* Mon Nov 17 2014 Paul Howarth <paul@city-fan.org> - 1.20141116-1
- Update to 1.20141116
- Resolved Test::More changes (CPAN RT#97939)
- Switch to ExtUtils::MakeMaker flow
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.20120705-7
- Perl 5.20 rebuild

@ -1 +1 @@
0eee5ff59b912f9baa5dc852681238a0 SUPER-1.20120705.tar.gz
0ef0d441616bc3c2d62ed580f0ce718f SUPER-1.20141116.tar.gz

Loading…
Cancel
Save