From d73610c9e410dab1ae87f1b8fbd1e26ea021c875 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Tue, 4 Apr 2017 11:34:35 +0100
Subject: Update to 0.008

- New upstream release 0.008
  - Fixed tests for perls without '.' in @INC
- Simplify find command using -delete
- Use %license where possible
---
 perl-Test-API.spec | 31 ++++++++++++++++++++++---------
 sources            |  2 +-
 2 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/perl-Test-API.spec b/perl-Test-API.spec
index 69fc312..0a26b90 100644
--- a/perl-Test-API.spec
+++ b/perl-Test-API.spec
@@ -1,12 +1,15 @@
 Name:          perl-Test-API
-Version:       0.005
-Release:       8%{?dist}
+Version:       0.008
+Release:       1%{?dist}
 Summary:       Test a list of subroutines provided by a module
 License:       ASL 2.0
 URL:           http://search.cpan.org/dist/Test-API/
 Source0:       
http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-API-%{version}.tar.gz
 BuildArch:     noarch
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl-generators
 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
@@ -18,11 +21,10 @@ BuildRequires:      perl(warnings)
 # Test Suite
 BuildRequires: perl(Carp)
 BuildRequires: perl(Exporter)
-BuildRequires: perl(File::Spec::Functions)
-BuildRequires: perl(List::Util)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(lib)
 BuildRequires: perl(Test::Builder::Tester) >= 1.18
 BuildRequires: perl(Test::More)
-BuildRequires: perl(version)
 # Optional Test Requirements (not available in EPEL-6)
 %if "%{?rhel}" != "6"
 BuildRequires: perl(CPAN::Meta)
@@ -46,18 +48,29 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} %{buildroot}
+find %{buildroot} -type f -name .packlist -delete
+%{_fixperms} -c %{buildroot}
 
 %check
 make test
 
 %files
-%doc Changes CONTRIBUTING LICENSE README
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes CONTRIBUTING.mkdn README
 %{perl_vendorlib}/Test/
-%{_mandir}/man3/Test::API.3pm*
+%{_mandir}/man3/Test::API.3*
 
 %changelog
+* Tue Apr  4 2017 Paul Howarth <p...@city-fan.org> - 0.008-1
+- Update to 0.008
+  - Fixed tests for perls without '.' in @INC
+- Simplify find command using -delete
+- Use %%license where possible
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.005-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
diff --git a/sources b/sources
index 3044dd8..1fc878d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4cc7dc3f5a60e9100cf165a2bbb6eaee  Test-API-0.005.tar.gz
+SHA512 (Test-API-0.008.tar.gz) = 
47ab88c5038b71acc1f5ab38719f33e07edb7b52544d49f73b70923f65184346b9b4d834896438448496433f1cae9034f38a9687b89f80b8d196243351bc922d
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Test-API.git/commit/?h=f26&id=d73610c9e410dab1ae87f1b8fbd1e26ea021c875
_______________________________________________
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