[perl-Perl-Critic-Lax] 0.009 bump

Petr Pisar ppisar at fedoraproject.org
Thu Sep 13 07:40:43 UTC 2012


commit 140ef80436932cf8419d240e585350fceb814fc1
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Sep 13 09:39:42 2012 +0200

    0.009 bump

 .gitignore                |    1 +
 perl-Perl-Critic-Lax.spec |   27 ++++++++++++++++-----------
 sources                   |    2 +-
 3 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c0a6634..c080920 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Perl-Critic-Lax-0.008.tar.gz
+/Perl-Critic-Lax-0.009.tar.gz
diff --git a/perl-Perl-Critic-Lax.spec b/perl-Perl-Critic-Lax.spec
index 3400fc1..953d3ee 100644
--- a/perl-Perl-Critic-Lax.spec
+++ b/perl-Perl-Critic-Lax.spec
@@ -1,23 +1,27 @@
 Name:           perl-Perl-Critic-Lax
-Version:        0.008
-Release:        5%{?dist}
+Version:        0.009
+Release:        1%{?dist}
 Summary:        Policies that let you slide on common exceptions
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Perl-Critic-Lax/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Perl-Critic-Lax-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Perl::Critic) >= 0.21
-BuildRequires:  perl(Perl::Critic::Policy)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+# Run-time:
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Perl::Critic)
 BuildRequires:  perl(Perl::Critic::Utils)
+BuildRequires:  perl(Perl::Critic::Policy)
 # Tests only:
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Perl::Critic::TestUtils)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.00
-BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+# Optional tests:
+BuildRequires:  perl(Test::Script) >= 1.05
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(Perl::Critic) >= 0.21
+Requires:       perl(Perl::Critic)
+Requires:       perl(Perl::Critic::Policy)
 
 %description
 The Perl-Critic-Lax distribution includes versions of core Perl::Critic
@@ -33,21 +37,22 @@ reasonable, maybe there's a Lax policy. If there isn't, send one in!
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_privlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Sep 13 2012 Petr Pisar <ppisar at redhat.com> - 0.009-1
+- 0.009 bump
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.008-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 458c045..ac25952 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-976c7526bc2d906f7c91d6eb0e07ecb4  Perl-Critic-Lax-0.008.tar.gz
+2b6e3cd6fb21f0a710980844d96d036e  Perl-Critic-Lax-0.009.tar.gz


More information about the scm-commits mailing list