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
This commit is contained in:
parent
c5d7a03dba
commit
48affb61a9
@ -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@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@lists.fedoraproject.org> - 1.125-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user