From a1034337283bdc8af318e6cfced49c2df4499607 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Fri, 14 Oct 2016 09:32:17 +0100
Subject: Update to 1.23

- New upstream release 1.23
  - Update the list of metrics to the latest Module::CPANTS::Analyse
- Switch back to ExtUtils::MakeMaker flow
- Drop redundant Group: tag
- Drop support for old rpm versions that don't have %license
---
 perl-Test-Kwalitee.spec | 37 ++++++++++++++++++++-----------------
 sources                 |  2 +-
 2 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/perl-Test-Kwalitee.spec b/perl-Test-Kwalitee.spec
index 4948149..105ed01 100644
--- a/perl-Test-Kwalitee.spec
+++ b/perl-Test-Kwalitee.spec
@@ -1,29 +1,28 @@
 Name:          perl-Test-Kwalitee
-Version:       1.22
-Release:       6%{?dist}
+Version:       1.23
+Release:       1%{?dist}
 Summary:       Test the Kwalitee of a distribution before you release it
 License:       GPL+ or Artistic
-Group:         Development/Libraries
 URL:           http://metacpan.org/module/Test::Kwalitee
 Source0:       
http://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Kwalitee-%{version}.tar.gz
 BuildArch:     noarch
 # Build
+BuildRequires: coreutils
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl-generators
-BuildRequires: perl(Module::Build::Tiny) >= 0.037
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
 # Module
 BuildRequires: perl(Cwd)
 BuildRequires: perl(Exporter)
 BuildRequires: perl(Module::CPANTS::Analyse) >= 0.92
-BuildRequires: perl(namespace::clean)
 BuildRequires: perl(parent)
 BuildRequires: perl(strict)
 BuildRequires: perl(Test::Builder) >= 0.88
 BuildRequires: perl(warnings)
 # Test Suite
 BuildRequires: perl(CPAN::Meta) >= 2.120900
-BuildRequires: perl(CPAN::Meta::Check) >= 0.007
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(CPAN::Meta::Check) >= 0.011
 BuildRequires: perl(File::Spec)
 BuildRequires: perl(File::Temp)
 BuildRequires: perl(lib)
@@ -32,7 +31,7 @@ BuildRequires:        perl(Test::Deep)
 BuildRequires: perl(Test::More) >= 0.94
 BuildRequires: perl(Test::Tester) >= 0.108
 BuildRequires: perl(Test::Warnings) >= 0.009
-# Runtime
+# Dependencies
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -45,18 +44,15 @@ computer science).
 %setup -q -n Test-Kwalitee-%{version}
 
 %build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
+make %{?_smp_mflags}
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
-chmod -c 755 %{buildroot}%{_bindir}/kwalitee-metrics
+make install DESTDIR=%{buildroot}
+%{_fixperms} -c %{buildroot}
 
 %check
-./Build test
-
-# Support use of %%license for old distributions
-%{!?_licensedir:%global license %%doc}
+make test
 
 %files
 %license LICENSE
@@ -64,9 +60,16 @@ chmod -c 755 %{buildroot}%{_bindir}/kwalitee-metrics
 %{_bindir}/kwalitee-metrics
 %{perl_vendorlib}/Test/
 %{_mandir}/man1/kwalitee-metrics.1*
-%{_mandir}/man3/Test::Kwalitee.3pm*
+%{_mandir}/man3/Test::Kwalitee.3*
 
 %changelog
+* Fri Oct 14 2016 Paul Howarth <p...@city-fan.org> - 1.23-1
+- Update to 1.23
+  - Update the list of metrics to the latest Module::CPANTS::Analyse
+- Switch back to ExtUtils::MakeMaker flow
+- Drop redundant Group: tag
+- Drop support for old rpm versions that don't have %%license
+
 * Mon May 16 2016 Jitka Plesnikova <jples...@redhat.com> - 1.22-6
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 598d896..625956b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2b3ccaec94e75ab574b0e773f74ca884  Test-Kwalitee-1.22.tar.gz
+e656a7899f6d411853b749ec3f882aec  Test-Kwalitee-1.23.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Test-Kwalitee.git/commit/?h=master&id=a1034337283bdc8af318e6cfced49c2df4499607
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to