[perl-Perl-Critic-Tics] 0.007 bump

Petr Pisar ppisar at fedoraproject.org
Wed Jul 10 11:44:34 UTC 2013


commit 4f47f0e24beb90f2268303ab13cf86d78ba218d4
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Jul 10 13:43:57 2013 +0200

    0.007 bump

 .gitignore                 |    1 +
 .rpmlint                   |    2 ++
 perl-Perl-Critic-Tics.spec |   33 ++++++++++++++++++++-------------
 sources                    |    2 +-
 4 files changed, 24 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a7611af..677a951 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Perl-Critic-Tics-0.006.tar.gz
+/Perl-Critic-Tics-0.007.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..49359f3
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* rjbs");
diff --git a/perl-Perl-Critic-Tics.spec b/perl-Perl-Critic-Tics.spec
index 15f852e..774171d 100644
--- a/perl-Perl-Critic-Tics.spec
+++ b/perl-Perl-Critic-Tics.spec
@@ -1,23 +1,28 @@
 # This file is lincesed under the terms of GNU GPLv2+.
 Name:           perl-Perl-Critic-Tics
-Version:        0.006
-Release:        6%{?dist}
+Version:        0.007
+Release:        1%{?dist}
 Summary:        Policies for things that make me wince
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Perl-Critic-Tics/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Perl-Critic-Tics-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Perl::Critic) >= 1.07
-BuildRequires:  perl(Perl::Critic::TestUtils)
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Perl::Critic::Policy)
 BuildRequires:  perl(Perl::Critic::Utils)
 BuildRequires:  perl(Perl::Critic::Violation)
-# Tests only:
-BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-# Plug-in into perlcritics. Require it.
-Requires:       perl(Perl::Critic) >= 1.07
+# Tests:
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Perl::Critic::TestUtils)
+BuildRequires:  perl(Test::More) >= 0.96
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Perl::Critic::Violation)
 
 %description
@@ -28,13 +33,12 @@ to address a fairly random assortment of things that make me (rjbs) wince.
 %setup -q -n Perl-Critic-Tics-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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
@@ -46,6 +50,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jul 10 2013 Petr Pisar <ppisar at redhat.com> - 0.007-1
+- 0.007 bump
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.006-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 6d294d7..e292c63 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dc5d3ea23a5ace74aa222211d000cc21  Perl-Critic-Tics-0.006.tar.gz
+bcd99e5b1616a9c30db66896553a2765  Perl-Critic-Tics-0.007.tar.gz


More information about the scm-commits mailing list