[perl-Test-Warnings] Update to 0.15
Paul Howarth
pghmcfc at fedoraproject.org
Fri Jun 20 09:59:26 UTC 2014
commit 316eea4477b852a0617f533b4f24cb4cdc49a7be
Author: Paul Howarth <paul at city-fan.org>
Date: Fri Jun 20 10:58:40 2014 +0100
Update to 0.15
- New upstream release 0.15
- Adjusted packaging and tests to become perl-5.6 friendly, including only
using core or dual-lifed prerequisites
- Switch to ExtUtils::MakeMaker flow
perl-Test-Warnings.spec | 23 ++++++++++++++++-------
sources | 2 +-
2 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/perl-Test-Warnings.spec b/perl-Test-Warnings.spec
index 2601f06..78e2e9d 100644
--- a/perl-Test-Warnings.spec
+++ b/perl-Test-Warnings.spec
@@ -1,6 +1,6 @@
Name: perl-Test-Warnings
-Version: 0.014
-Release: 2%{?dist}
+Version: 0.015
+Release: 1%{?dist}
Summary: Test for warnings and the lack of them
License: GPL+ or Artistic
Group: Development/Libraries
@@ -8,7 +8,8 @@ URL: http://search.cpan.org/dist/Test-Warnings
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Warnings-%{version}.tar.gz
BuildArch: noarch
# Build
-BuildRequires: perl(Module::Build::Tiny) >= 0.035
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# Module
BuildRequires: perl(Exporter)
BuildRequires: perl(Test::Builder)
@@ -55,14 +56,16 @@ with use Test::Warnings; whether or not your tests have a plan.
%setup -q -n Test-Warnings-%{version}
%build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
-./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
%files
%doc Changes CONTRIBUTING LICENSE README README.md examples/
@@ -70,6 +73,12 @@ perl Build.PL --installdirs=vendor
%{_mandir}/man3/Test::Warnings.3pm*
%changelog
+* Fri Jun 20 2014 Paul Howarth <paul at city-fan.org> - 0.015-1
+- Update to 0.15
+ - Adjusted packaging and tests to become perl-5.6 friendly, including only
+ using core or dual-lifed prerequisites
+- Switch to ExtUtils::MakeMaker flow
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.014-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 6007dec..8883093 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d8fed8dc1790bb76cc828ba354fb3a8c Test-Warnings-0.014.tar.gz
+9ae44c9e00f1e24e058959a98fb5531a Test-Warnings-0.015.tar.gz
More information about the scm-commits
mailing list