[perl-Test-Strict] 0.17 bump

Petr Šabata psabata at fedoraproject.org
Thu Jan 3 14:03:18 UTC 2013


commit 6c53bacf581fed09fca07eca131792024348c271
Author: Petr Šabata <contyk at redhat.com>
Date:   Thu Jan 3 15:03:11 2013 +0100

    0.17 bump

 .gitignore            |    1 +
 perl-Test-Strict.spec |   34 +++++++++++++++++-----------------
 sources               |    2 +-
 3 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 20bf4b9..51e06ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Test-Strict-0.13.tar.gz
 /Test-Strict-0.14.tar.gz
+/Test-Strict-0.17.tar.gz
diff --git a/perl-Test-Strict.spec b/perl-Test-Strict.spec
index d70de8b..c4a4b1f 100644
--- a/perl-Test-Strict.spec
+++ b/perl-Test-Strict.spec
@@ -1,23 +1,20 @@
 Name:       perl-Test-Strict 
-Version:        0.14
-Release:        5%{?dist}
+Version:    0.17
+Release:    1%{?dist}
 # see lib/Test/Strict.pm
 License:    GPL+ or Artistic
 Group:      Development/Libraries
 Summary:    Check syntax, presence of use strict/warnings, and test coverage
-Source:     http://search.cpan.org/CPAN/authors/id/P/PD/PDENIS/Test-Strict-%{version}.tar.gz 
+Source:     http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Test-Strict-%{version}.tar.gz
 Url:        http://search.cpan.org/dist/Test-Strict
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 BuildArch:  noarch
-
+BuildRequires: perl(Devel::Cover)
 BuildRequires: perl(ExtUtils::MakeMaker) 
-BuildRequires: perl(Devel::Cover) >= 0.43
-BuildRequires: perl(File::Find) >= 0.01
-BuildRequires: perl(File::Spec) >= 0.01
-BuildRequires: perl(File::Temp) >= 0.01
-BuildRequires: perl(FindBin) >= 0.01
-BuildRequires: perl(Test::Builder) >= 0.01
-BuildRequires: perl(Test::Simple) >= 0.47
+BuildRequires: perl(File::Find)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(FindBin)
+BuildRequires: perl(Test::Builder)
 BuildRequires: perl(Test::More)
 BuildRequires: perl(Test::Pod)
 
@@ -30,26 +27,29 @@ BuildRequires: perl(Test::Pod)
 %setup -q -n Test-Strict-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc README Changes 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Thu Jan 03 2013 Petr Šabata <contyk at redhat.com> - 0.17-1
+- 0.17 bump
+- Modernize the spec a bit
+- Remove unused build dependencies
+- Update source URL
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 620efbf..523a91d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d1ef5921787195141ba47b017cd5bce5  Test-Strict-0.14.tar.gz
+5dfef28499d8c7cdede5cfeb19709e2d  Test-Strict-0.17.tar.gz


More information about the scm-commits mailing list