From 7e3d953a71fb0aa0727ccd7d1d25050a46089420 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Sun, 18 Dec 2016 12:57:50 +0000 Subject: Update to 0.31 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
- New upstream release 0.31 - Improve support for warnings with trailing newlines - This release by BIGJ → update source URL - Classify buildreqs by usage - Simplify find command using -delete - Drop redundant Group: tag --- perl-Test-Warn.spec | 48 +++++++++++++++++++++++++++++++----------------- sources | 2 +- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/perl-Test-Warn.spec b/perl-Test-Warn.spec index b2d473d..5dc1d2f 100644 --- a/perl-Test-Warn.spec +++ b/perl-Test-Warn.spec @@ -1,28 +1,32 @@ Name: perl-Test-Warn -Version: 0.30 -Release: 7%{?dist} +Version: 0.31 +Release: 1%{?dist} Summary: Perl extension to test methods for warnings -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Warn/ -Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Test-Warn-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/B/BI/BIGJ/Test-Warn-%{version}.tar.gz BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators -BuildRequires: perl(base) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: sed +# Runtime BuildRequires: perl(Carp) >= 1.22 -BuildRequires: perl(constant) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Spec) -BuildRequires: perl(Sub::Uplevel) >= 0.12 BuildRequires: perl(strict) -BuildRequires: perl(Test) +BuildRequires: perl(Sub::Uplevel) >= 0.12 BuildRequires: perl(Test::Builder) >= 0.13 +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(constant) +BuildRequires: perl(Test) BuildRequires: perl(Test::Builder::Tester) >= 1.02 BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(warnings) +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Test::Builder) >= 0.13 @@ -35,16 +39,18 @@ based code. %prep %setup -q -n Test-Warn-%{version} -sed -i -e 's/\r//' Changes + +# Fix line endings +sed -i -e 's/\r$//' Changes %build perl Makefile.PL INSTALLDIRS=vendor 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 +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test @@ -52,9 +58,17 @@ make test %files %doc Changes README %{perl_vendorlib}/Test/ -%{_mandir}/man3/Test::Warn.3pm* +%{_mandir}/man3/Test::Warn.3* %changelog +* Sun Dec 18 2016 Paul Howarth <p...@city-fan.org> - 0.31-1 +- Update to 0.31 + - Improve support for warnings with trailing newlines +- This release by BIGJ → update source URL +- Classify buildreqs by usage +- Simplify find command using -delete +- Drop redundant Group: tag + * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 0.30-7 - Perl 5.24 rebuild diff --git a/sources b/sources index fcd9356..9e75a1f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8306b998a96d2cc69266b5248d550472 Test-Warn-0.30.tar.gz +SHA512 (Test-Warn-0.31.tar.gz) = 8a12d6a360f3f513151c990a84cd9199215c70a50dc2572432662d5a5bd9d8b2ea1237967d63d7400e91eb736e25cad130d1ae794aaf452f3a8c0b11d2cc97cc -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Test-Warn.git/commit/?h=perl-Test-Warn-0.31-1.fc26&id=7e3d953a71fb0aa0727ccd7d1d25050a46089420 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org