pghmcfc pushed to perl-Perl-Critic (master). "Update to 1.126 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Aug 11 14:02:10 UTC 2015


From 48affb61a91e4e49abfbe983e07dbd61ffdf51e3 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Tue, 11 Aug 2015 14:57:32 +0100
Subject: Update to 1.126

- New upstream release 1.126
  - Added a policy: ControlStructures::ProhibitYadaOperator - Never use ... in
    production code
  - Fixed problems arising from having -b in your .perltidyrc file
  - Removed extra newline from policy names returned by P::C::Config->policies
  - 'fc' and 'say' are now covered by ProhibitUselessTopic
  - Add more strict/warnings importer modules
  - Path::Tiny is now recommended over File::Slurp
  - Micro-optimize by calling ->content() directly instead of going through the
    overloads
  - Square brackets are now allowed around your '## no critic' policy list

diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec
index fc7659d..444a35e 100644
--- a/perl-Perl-Critic.spec
+++ b/perl-Perl-Critic.spec
@@ -1,6 +1,6 @@
 Name:		perl-Perl-Critic
-Version:	1.125
-Release:	4%{?dist}
+Version:	1.126
+Release:	1%{?dist}
 Summary:	Critique Perl source code for best-practices
 Group:		Development/Libraries
 License:	GPL+ or Artistic
@@ -9,6 +9,9 @@ Source0:	http://search.cpan.org/CPAN/authors/id/T/TH/THALJEF/Perl-Critic-%{versi
 BuildArch:	noarch
 
 # Build process
+BuildRequires:	coreutils
+BuildRequires:	findutils
+BuildRequires:	make
 BuildRequires:	perl
 BuildRequires:	perl(lib)
 BuildRequires:	perl(Module::Build) >= 0.42
@@ -116,12 +119,6 @@ of Perl code were mixed directly in the test script. That sucked.
 %prep
 %setup -q -n Perl-Critic-%{version}
 
-# Drop Test::Kwalitee tests in RHEL ≥ 7
-%if 0%{?rhel} >= 7
-rm xt/author/95_kwalitee.t
-sed -i -e '/^xt\/author\/95_kwalitee.t$/ d' MANIFEST
-%endif
-
 # Drop exec bits from samples/docs to avoid dependency bloat
 find tools examples -type f -exec chmod -c -x {} ';'
 
@@ -153,6 +150,19 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test
 %{_mandir}/man3/Test::Perl::Critic::Policy.3*
 
 %changelog
+* Tue Aug 11 2015 Paul Howarth <paul at city-fan.org> - 1.126-1
+- Update to 1.126
+  - Added a policy: ControlStructures::ProhibitYadaOperator - Never use ... in
+    production code
+  - Fixed problems arising from having -b in your .perltidyrc file
+  - Removed extra newline from policy names returned by P::C::Config->policies
+  - 'fc' and 'say' are now covered by ProhibitUselessTopic
+  - Add more strict/warnings importer modules
+  - Path::Tiny is now recommended over File::Slurp
+  - Micro-optimize by calling ->content() directly instead of going through the
+    overloads
+  - Square brackets are now allowed around your '## no critic' policy list
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.125-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index efde745..ca0cc50 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c22b0e945cfbc75fadb0a7b110e00de3  Perl-Critic-1.125.tar.gz
+c5c698baa7fd373ea893ff39f29ed7b9  Perl-Critic-1.126.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Perl-Critic.git/commit/?h=master&id=48affb61a91e4e49abfbe983e07dbd61ffdf51e3


More information about the perl-devel mailing list