From 841ff381a05855b408b516f4c1ceb8d5d40ba7f0 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 3 Oct 2014 09:17:38 +0100 Subject: [PATCH] Update to 1.005005 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New upstream release 1.005005 - Detect mercurial when checking for development trees - Avoid using constant.pm to save a bit of memory on older perls - Update to v2 metadata - Fix skip on old perl on test script - Extra prereqs will be listed as hard prerequisites if a compiler is available - Added support for PUREPERL_ONLY (CPAN RT#91407) - Fixed using strictures->VERSION to query the version (CPAN RT#92965) - Make sure meta files list extra modules as recommendations, not requirements - Include minimum perl version in metadata - This release by HAARG → update source URL - Make %files list more explicit --- .gitignore | 6 +----- perl-strictures.spec | 46 ++++++++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 34 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 5b07964..28d5099 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1 @@ -/strictures-1.002002.tar.gz -/strictures-1.003001.tar.gz -/strictures-1.004001.tar.gz -/strictures-1.004002.tar.gz -/strictures-1.004004.tar.gz +/strictures-[0-9.]*.tar.gz diff --git a/perl-strictures.spec b/perl-strictures.spec index 1c260eb..bdb7df5 100644 --- a/perl-strictures.spec +++ b/perl-strictures.spec @@ -1,23 +1,28 @@ Name: perl-strictures -Version: 1.004004 -Release: 6%{?dist} +Version: 1.005005 +Release: 1%{?dist} Summary: Turn on strict and make all warnings fatal License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/strictures/ -Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/strictures-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/strictures-%{version}.tar.gz BuildArch: noarch +# Module Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Text::ParseWords) +# Module Runtime BuildRequires: perl(strict) -BuildRequires: perl(Test::More) BuildRequires: perl(warnings) -# for extra testing +# Test Suite +BuildRequires: perl(Test::More) +# Optional Tests BuildRequires: perl(indirect) BuildRequires: perl(multidimensional) BuildRequires: perl(bareword::filehandles) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This package turns on strict and makes all warnings fatal. @@ -26,25 +31,38 @@ This package turns on strict and makes all warnings fatal. %setup -q -n strictures-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +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/* +%{_fixperms} $RPM_BUILD_ROOT %check make test %files %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/strictures.pm +%{_mandir}/man3/strictures.3* %changelog +* Fri Oct 3 2014 Paul Howarth - 1.005005-1 +- Update to 1.005005 + - Detect mercurial when checking for development trees + - Avoid using constant.pm to save a bit of memory on older perls + - Update to v2 metadata + - Fix skip on old perl on test script + - Extra prereqs will be listed as hard prerequisites if a compiler is + available + - Added support for PUREPERL_ONLY (CPAN RT#91407) + - Fixed using strictures->VERSION to query the version (CPAN RT#92965) + - Make sure meta files list extra modules as recommendations, not requirements + - Include minimum perl version in metadata +- This release by HAARG → update source URL +- Make %%files list more explicit + * Fri Aug 29 2014 Jitka Plesnikova - 1.004004-6 - Perl 5.20 rebuild diff --git a/sources b/sources index be39a44..ccfa749 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1a6323eee9f2c9762a77b97e604034d4 strictures-1.004004.tar.gz +6600e27805eed1554984799ac8158410 strictures-1.005005.tar.gz