From 5cb3f819ccb195bc5f7862e17619575a05d48fcc Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Thu, 30 Mar 2017 10:38:22 +0200
Subject: 1.031 bump; Change license to Artistic 2.0

---
 perl-Test-Output.spec | 42 ++++++++++++++++++++++++++++--------------
 sources               |  2 +-
 2 files changed, 29 insertions(+), 15 deletions(-)

diff --git a/perl-Test-Output.spec b/perl-Test-Output.spec
index 1b510c2..edfdfde 100644
--- a/perl-Test-Output.spec
+++ b/perl-Test-Output.spec
@@ -1,23 +1,34 @@
+%global cpan_version 1.031
+
 Name:           perl-Test-Output
-Version:        1.03
-Release:        8%{?dist}
+# Keep 2-digit precision
+Version:        %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
+Release:        1%{?dist}
 Summary:        Utilities to test STDOUT and STDERR messages
-License:        GPL+ or Artistic
+License:        Artistic 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Output/
-Source0:        
http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{cpan_version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl-generators
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time
 BuildRequires:  perl(Capture::Tiny) >= 0.17
-BuildRequires:  perl(Carp)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(File::Temp) >= 0.17
-BuildRequires:  perl(Sub::Exporter)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Test::Builder)
+# Tests
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Test::More) >= 0.94
+BuildRequires:  perl(Test::Tester) >= 0.107
+# Optional tests
 BuildRequires:  perl(Test::Pod) >= 1.14
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Tester) >= 0.103
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -26,26 +37,29 @@ or STDERR. A number of different utilities are included to 
try and be as
 flexible as possible to the tester.
 
 %prep
-%setup -q -n Test-Output-%{version}
+%setup -q -n Test-Output-%{cpan_version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
 
 %files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README.pod
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::Output.3pm*
 
 %changelog
+* Thu Mar 30 2017 Jitka Plesnikova <jples...@redhat.com> - 1.03.1-1
+- 1.031 bump; Change license to Artistic 2.0
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.03-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
diff --git a/sources b/sources
index 2b7aea1..e5933c7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-903485edb382f5a18a5029978d1febf6  Test-Output-1.03.tar.gz
+SHA512 (Test-Output-1.031.tar.gz) = 
b443d5a4ab7be1c308b74ebc9a1a50022b404886e8a1dbd2700d974ead506a6976ec6d5c141528cf1c2833174c3afd9023362cb0b4e000f0e878d2e3e9f90e90
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Test-Output.git/commit/?h=master&id=5cb3f819ccb195bc5f7862e17619575a05d48fcc
_______________________________________________
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