[perl-Array-Compare] Update to 2.11
Paul Howarth
pghmcfc at fedoraproject.org
Fri Oct 3 09:08:18 UTC 2014
commit fdb665db1c544644646ebb0c6b768340da755e46
Author: Paul Howarth <paul at city-fan.org>
Date: Fri Oct 3 10:04:05 2014 +0100
Update to 2.11
- New upstream release 2.11
- Ported from Moose to Moo
- Classify buildreqs by usage
- Switch to ExtUtils::MakeMaker flow
perl-Array-Compare.spec | 35 +++++++++++++++++++++++++----------
sources | 2 +-
2 files changed, 26 insertions(+), 11 deletions(-)
---
diff --git a/perl-Array-Compare.spec b/perl-Array-Compare.spec
index 3947b65..844e983 100644
--- a/perl-Array-Compare.spec
+++ b/perl-Array-Compare.spec
@@ -1,6 +1,6 @@
Name: perl-Array-Compare
-Version: 2.02
-Release: 6%{?dist}
+Version: 2.11
+Release: 1%{?dist}
Summary: Perl extension for comparing arrays
Group: Development/Libraries
License: GPL+ or Artistic
@@ -8,13 +8,21 @@ URL: http://search.cpan.org/dist/Array-Compare/
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Array-Compare-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+# Module Build
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Module Runtime
BuildRequires: perl(Carp)
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Moose)
+BuildRequires: perl(Moo)
+BuildRequires: perl(strict)
+BuildRequires: perl(Types::Standard)
+BuildRequires: perl(warnings)
+# Test Suite
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
+# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@@ -23,19 +31,20 @@ different, then Array::Compare will be useful to you.
%prep
%setup -q -n Array-Compare-%{version}
-chmod -c a-x lib/Array/*.pm
+chmod -c -x lib/Array/Compare.pm README
%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}
@@ -46,6 +55,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/Array::Compare.3pm*
%changelog
+* Fri Oct 3 2014 Paul Howarth <paul at city-fan.org> - 2.11-1
+- Update to 2.11
+ - Ported from Moose to Moo
+- Classify buildreqs by usage
+- Switch to ExtUtils::MakeMaker flow
+
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.02-6
- Perl 5.20 rebuild
@@ -87,7 +102,7 @@ rm -rf %{buildroot}
* Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 2.01-7
- Perl mass rebuild
-* Thu Jun 29 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.01-6
+* Wed Jun 29 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.01-6
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.01-5
diff --git a/sources b/sources
index e7b4f92..61d73b0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a1e5f3bc8a2dd4a27f65890a7c45dd05 Array-Compare-2.02.tar.gz
+57ff4aa504d4c2d1ecef342bd19c0039 Array-Compare-2.11.tar.gz
More information about the perl-devel
mailing list