|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|