forked from pool/perl-Perl-Critic
Accepting request 1046339 from devel:languages:perl:autoupdate
- updated to 1.146 see /usr/share/doc/packages/perl-Perl-Critic/Changes 1.146 [New features] ProhibitBarewordDirHandles now checks for sysopen as well as open. Thanks, Tadeusz Sośnierz. (GH #732) Added a Dockerfile in the extras/ directory for those who want to run P::C in a container. Thanks, Isaac Gittins. (GH #832) Subroutines::ProhibitBuiltinHomonyms now can take an "allows" parameter to specify subroutines that won't violate the policy. Thanks, UTAGAWA Kiki. (GH #14, #932) ProhibitStringyEval now allows package declarations in evals when allow_includes = true. This is a common way packages are declared. Thanks, Chris Novakovic. (GH #908) [Bug Fixes] Fixed some problems with how Perl::Critic determined scope. Thanks, Tom Wyant. (GH #793) Fixed improper violation for lexical subroutines in Subroutines::ProhibitBuiltinHomonyms. Thanks, TOYAMA Nao. (GH #973, #955, #546) ValuesAndExpressions::RequireNumberSeparators no longer complains if your version numbers do not have number separators in them. Thanks, Tom Wyant. (GH #856, #904) Fixed a false positive with split() in ProhibitUnusedCapture. Thanks, Tom Wyant. (GH #888) [Internals] We no longer use or need IO::String. Thanks, Graham Knop. (GH #997) Removed requirements and mentions of modules no longer used: * Fatal * IO::String * IPC::Open2 * Pod::Parser * Task::Weaken OBS-URL: https://build.opensuse.org/request/show/1046339 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-Critic?expand=0&rev=56
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e05d21a19626487ddea4e8d9f30cdedf594c3ac2ba028e95b5ee368d905f12cf
|
||||
size 656935
|
3
Perl-Critic-1.146.tar.gz
Normal file
3
Perl-Critic-1.146.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:75dd772268fc057d1ac6b6eb0e941e287427153574c6d3b5f6ec3e3433355131
|
||||
size 662208
|
@@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 23 03:08:42 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.146
|
||||
see /usr/share/doc/packages/perl-Perl-Critic/Changes
|
||||
|
||||
1.146 Wed Dec 21 21:05:20 CST 2022
|
||||
[New features]
|
||||
ProhibitBarewordDirHandles now checks for sysopen as well as open. Thanks,
|
||||
Tadeusz Sośnierz. (GH #732)
|
||||
Added a Dockerfile in the extras/ directory for those who want to run P::C
|
||||
in a container. Thanks, Isaac Gittins. (GH #832)
|
||||
Subroutines::ProhibitBuiltinHomonyms now can take an "allows" parameter to
|
||||
specify subroutines that won't violate the policy. Thanks, UTAGAWA Kiki.
|
||||
(GH #14, #932)
|
||||
ProhibitStringyEval now allows package declarations in evals when
|
||||
allow_includes = true. This is a common way packages are declared.
|
||||
Thanks, Chris Novakovic. (GH #908)
|
||||
[Bug Fixes]
|
||||
Fixed some problems with how Perl::Critic determined scope. Thanks, Tom
|
||||
Wyant. (GH #793)
|
||||
Fixed improper violation for lexical subroutines in
|
||||
Subroutines::ProhibitBuiltinHomonyms. Thanks, TOYAMA Nao. (GH #973, #955,
|
||||
#546)
|
||||
ValuesAndExpressions::RequireNumberSeparators no longer complains if your
|
||||
version numbers do not have number separators in them. Thanks, Tom Wyant.
|
||||
(GH #856, #904)
|
||||
Fixed a false positive with split() in ProhibitUnusedCapture. Thanks, Tom
|
||||
Wyant. (GH #888)
|
||||
[Internals]
|
||||
We no longer use or need IO::String. Thanks, Graham Knop. (GH #997)
|
||||
Removed requirements and mentions of modules no longer used:
|
||||
* Fatal
|
||||
* IO::String
|
||||
* IPC::Open2
|
||||
* Pod::Parser
|
||||
* Task::Weaken
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 03:10:08 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
%define cpan_name Perl-Critic
|
||||
Name: perl-Perl-Critic
|
||||
Version: 1.144
|
||||
Version: 1.146
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Critique Perl source code for best-practices
|
||||
@@ -28,67 +28,63 @@ Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(B::Keywords) >= 1.05
|
||||
BuildRequires: perl(B::Keywords) >= 1.23
|
||||
BuildRequires: perl(Config::Tiny) >= 2
|
||||
BuildRequires: perl(Exception::Class) >= 1.23
|
||||
BuildRequires: perl(Exporter) >= 5.63
|
||||
BuildRequires: perl(File::Which)
|
||||
BuildRequires: perl(IO::String)
|
||||
BuildRequires: perl(List::SomeUtils) >= 0.55
|
||||
BuildRequires: perl(Module::Build) >= 0.420400
|
||||
BuildRequires: perl(Module::Pluggable) >= 3.1
|
||||
BuildRequires: perl(PPI) >= 1.265
|
||||
BuildRequires: perl(PPI::Document) >= 1.265
|
||||
BuildRequires: perl(PPI::Document::File) >= 1.265
|
||||
BuildRequires: perl(PPI::Node) >= 1.265
|
||||
BuildRequires: perl(PPI::Token::Quote::Single) >= 1.265
|
||||
BuildRequires: perl(PPI::Token::Whitespace) >= 1.265
|
||||
BuildRequires: perl(PPI) >= 1.271
|
||||
BuildRequires: perl(PPI::Document) >= 1.271
|
||||
BuildRequires: perl(PPI::Document::File) >= 1.271
|
||||
BuildRequires: perl(PPI::Node) >= 1.271
|
||||
BuildRequires: perl(PPI::Token::Quote::Single) >= 1.271
|
||||
BuildRequires: perl(PPI::Token::Whitespace) >= 1.271
|
||||
BuildRequires: perl(PPIx::QuoteLike)
|
||||
BuildRequires: perl(PPIx::Regexp) >= 0.027
|
||||
BuildRequires: perl(PPIx::Regexp::Util) >= 0.068
|
||||
BuildRequires: perl(PPIx::Utilities::Node) >= 1.001
|
||||
BuildRequires: perl(PPIx::Utilities::Statement) >= 1.001
|
||||
BuildRequires: perl(Perl::Tidy)
|
||||
BuildRequires: perl(Pod::Parser)
|
||||
BuildRequires: perl(Pod::PlainText)
|
||||
BuildRequires: perl(Pod::Select)
|
||||
BuildRequires: perl(Pod::Spell) >= 1
|
||||
BuildRequires: perl(Readonly) >= 2
|
||||
BuildRequires: perl(String::Format) >= 1.18
|
||||
BuildRequires: perl(Task::Weaken)
|
||||
BuildRequires: perl(Term::ANSIColor) >= 2.02
|
||||
BuildRequires: perl(Test::Builder) >= 0.92
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(parent)
|
||||
BuildRequires: perl(version) >= 0.77
|
||||
Requires: perl(B::Keywords) >= 1.05
|
||||
Requires: perl(B::Keywords) >= 1.23
|
||||
Requires: perl(Config::Tiny) >= 2
|
||||
Requires: perl(Exception::Class) >= 1.23
|
||||
Requires: perl(Exporter) >= 5.63
|
||||
Requires: perl(File::Which)
|
||||
Requires: perl(IO::String)
|
||||
Requires: perl(List::SomeUtils) >= 0.55
|
||||
Requires: perl(Module::Pluggable) >= 3.1
|
||||
Requires: perl(PPI) >= 1.265
|
||||
Requires: perl(PPI::Document) >= 1.265
|
||||
Requires: perl(PPI::Document::File) >= 1.265
|
||||
Requires: perl(PPI::Node) >= 1.265
|
||||
Requires: perl(PPI::Token::Quote::Single) >= 1.265
|
||||
Requires: perl(PPI::Token::Whitespace) >= 1.265
|
||||
Requires: perl(PPI) >= 1.271
|
||||
Requires: perl(PPI::Document) >= 1.271
|
||||
Requires: perl(PPI::Document::File) >= 1.271
|
||||
Requires: perl(PPI::Node) >= 1.271
|
||||
Requires: perl(PPI::Token::Quote::Single) >= 1.271
|
||||
Requires: perl(PPI::Token::Whitespace) >= 1.271
|
||||
Requires: perl(PPIx::QuoteLike)
|
||||
Requires: perl(PPIx::Regexp) >= 0.027
|
||||
Requires: perl(PPIx::Regexp::Util) >= 0.068
|
||||
Requires: perl(PPIx::Utilities::Node) >= 1.001
|
||||
Requires: perl(PPIx::Utilities::Statement) >= 1.001
|
||||
Requires: perl(Perl::Tidy)
|
||||
Requires: perl(Pod::Parser)
|
||||
Requires: perl(Pod::PlainText)
|
||||
Requires: perl(Pod::Select)
|
||||
Requires: perl(Pod::Spell) >= 1
|
||||
Requires: perl(Readonly) >= 2
|
||||
Requires: perl(String::Format) >= 1.18
|
||||
Requires: perl(Task::Weaken)
|
||||
Requires: perl(Term::ANSIColor) >= 2.02
|
||||
Requires: perl(Test::Builder) >= 0.92
|
||||
Requires: perl(parent)
|
||||
Requires: perl(version) >= 0.77
|
||||
%{perl_requires}
|
||||
|
||||
|
Reference in New Issue
Block a user