2009-11-28 21:43:11 +00:00
|
|
|
#
|
2011-11-06 10:36:55 +00:00
|
|
|
# spec file for package perl-Perl-Critic
|
2010-07-14 23:46:46 +00:00
|
|
|
#
|
2024-03-08 22:56:22 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2010-07-14 23:46:46 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-03 10:55:50 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-11-28 21:43:11 +00:00
|
|
|
#
|
|
|
|
|
2011-11-06 10:36:55 +00:00
|
|
|
|
2021-04-09 15:40:00 +00:00
|
|
|
%define cpan_name Perl-Critic
|
2010-07-14 23:46:46 +00:00
|
|
|
Name: perl-Perl-Critic
|
2025-01-06 16:54:32 +00:00
|
|
|
Version: 1.156.0
|
2011-12-19 15:08:05 +00:00
|
|
|
Release: 0
|
2025-01-06 16:54:32 +00:00
|
|
|
# 1.156 -> normalize -> 1.156.0
|
|
|
|
%define cpan_version 1.156
|
2019-04-03 10:55:50 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-10-06 05:42:59 +00:00
|
|
|
Summary: Critique Perl source code for best-practices
|
2021-04-09 15:40:00 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-10-27 21:12:07 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-28 08:26:49 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:27 +02:00
|
|
|
Source100: README.md
|
2010-07-14 23:46:46 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
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
2023-01-04 15:51:42 +00:00
|
|
|
BuildRequires: perl(B::Keywords) >= 1.23
|
2010-07-14 23:46:46 +00:00
|
|
|
BuildRequires: perl(Config::Tiny) >= 2
|
|
|
|
BuildRequires: perl(Exception::Class) >= 1.23
|
2011-03-31 18:27:59 +00:00
|
|
|
BuildRequires: perl(Exporter) >= 5.63
|
2014-09-15 15:24:09 +00:00
|
|
|
BuildRequires: perl(File::Which)
|
Accepting request 1042273 from devel:languages:perl:autoupdate
- updated to 1.144
see /usr/share/doc/packages/perl-Perl-Critic/Changes
1.144
Perl::Critic now requires Perl 5.10.1.
[New features]
The ProhibitAugmentedAssignmentInDeclaration policy now allows augmented
assignments to "our" variables, if the allow_our option is enabled.
Thanks, Graham Knop. (GH #993)
ProhibitExplicitISA now recommends "use parent" instead of "use base".
(GH #987)
RequireUseWarnings now recognizes that "use v5.36" implies warnings.
Thanks, Andrew Grechkin. (GH #984)
Subroutines::ProhibitNestedSubs now allows lexical subroutines can
now be inside of other subroutines. Thanks, TOYAMA Nao. (GH #946,
#971, #972)
RequireUseStrict now knows that Test::Spec enables it. (GH #906)
ProhibitUnusedCapture now understands @{^CAPTURE} and %{^CAPTURE_ALL} that
were added in Perl 5.26.0. Thanks, Tom Wyant. (GH #778)
Allow numeric operators on special number strings 'NaN' and 'inf'. Thanks,
Omer Gazit. (GH #803)
[Fixes]
Miscellanea::ProhibitUselessNoCritic no longer filters out errors about
itself, just as Miscellanea::ProhibitUnrestrictedNoCritic cannot. Thanks,
Bernhard Schmalhofer. (GH #939)
Fixed GH #878: bareword filehandle dies on `open(CHECK, '/foo');`. Thanks,
Tom Wyant.
[Internals]
Updated to using Perl 5.10.1. Starting migrating to Perl 5.10-isms like
defined-or. Thanks, James Raspass.
[Documentation]
Updated some outdated docs in Perl::Critic::Utils. Thanks, Slaven Rezić.
(GH #951)
1.142
This is the last version of Perl::Critic that will run on Perl 5.6.1. The
next release will require Perl 5.10.1.
[New Features]
Add new policy InputOutput::ProhibitBarewordDirHandles, comparable to
ProhibitBarewordFilehanles. Thanks, raf. (GH #912)
References::ProhibitDoubleSigils policy now allows for Perl's
postfix dereference syntax and does not report a policy violation.
Thanks to Ilya Rassadin (GH #578)
Added Test::Class::Moose and MooseX::MethodAttributes::Role to the
list of modules that are equivalent to "use strict". (GH #808, GH #886)
Subroutines::RequireArgUnpacking now detects anonymous subroutines with
attributes, prototypes or signatures. Thanks, Tom Wyant. (GH #684)
ProhibitVoidMap and ProhibitVoidGrep now detect void context inside subs,
such as:
sub { map { foo($_) } @list; return }
Thanks, James Raspass. (GH #905)
RequireArgUnpacking now allows a closure to be recognized as a way that
subroutine arguments can be unpacked. This is specified with an optional
allow_closures configuration option. Thanks, Tom Wyant. (GH #737)
ProhibitTwoArgOpen now disallows one-arg opens as well. Also, it
no longer allows two-arg opening of STDIN/STDOUT/STDERR. Thanks,
Dan Book. (GH #652, #653)
[Fixes]
ProhibitLeadingZeros would not handle sysopen and lexical variables
correctly. This has been fixed. Thanks, Tom Wyant. (GH #789)
[Documentation]
We note that the any() function is available in both List::MoreUtils and
List::SomeUtils.
Added instructions to perlcritic on how to integrate with Visual Studio
Code. Thanks, sigzero.
[Internals]
Switch to using List::SomeUtils instead of List::MoreUtils.
OBS-URL: https://build.opensuse.org/request/show/1042273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-Critic?expand=0&rev=54
2022-12-13 11:45:18 +00:00
|
|
|
BuildRequires: perl(List::SomeUtils) >= 0.55
|
2023-10-27 21:12:07 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.4204
|
2011-12-19 15:24:16 +00:00
|
|
|
BuildRequires: perl(Module::Pluggable) >= 3.1
|
2025-01-06 16:54:32 +00:00
|
|
|
BuildRequires: perl(PPI) >= 1.277
|
|
|
|
BuildRequires: perl(PPI::Document) >= 1.277
|
|
|
|
BuildRequires: perl(PPI::Document::File) >= 1.277
|
|
|
|
BuildRequires: perl(PPI::Node) >= 1.277
|
|
|
|
BuildRequires: perl(PPI::Token::Quote::Single) >= 1.277
|
|
|
|
BuildRequires: perl(PPI::Token::Whitespace) >= 1.277
|
2019-04-03 10:55:50 +00:00
|
|
|
BuildRequires: perl(PPIx::QuoteLike)
|
2014-09-15 15:24:09 +00:00
|
|
|
BuildRequires: perl(PPIx::Regexp) >= 0.027
|
2020-01-27 15:17:02 +00:00
|
|
|
BuildRequires: perl(PPIx::Regexp::Util) >= 0.068
|
2023-03-10 10:43:48 +00:00
|
|
|
BuildRequires: perl(PPIx::Utils::Traversal) >= 0.003
|
2011-12-19 15:08:05 +00:00
|
|
|
BuildRequires: perl(Perl::Tidy)
|
2022-10-06 05:42:59 +00:00
|
|
|
BuildRequires: perl(Pod::PlainText)
|
|
|
|
BuildRequires: perl(Pod::Select)
|
2011-12-19 15:08:05 +00:00
|
|
|
BuildRequires: perl(Pod::Spell) >= 1
|
2014-09-15 15:24:09 +00:00
|
|
|
BuildRequires: perl(Readonly) >= 2
|
2019-11-29 07:15:26 +00:00
|
|
|
BuildRequires: perl(String::Format) >= 1.18
|
2014-09-15 15:24:09 +00:00
|
|
|
BuildRequires: perl(Term::ANSIColor) >= 2.02
|
2011-12-19 15:24:16 +00:00
|
|
|
BuildRequires: perl(Test::Builder) >= 0.92
|
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
2023-01-04 15:51:42 +00:00
|
|
|
BuildRequires: perl(parent)
|
2011-03-31 18:27:59 +00:00
|
|
|
BuildRequires: perl(version) >= 0.77
|
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
2023-01-04 15:51:42 +00:00
|
|
|
Requires: perl(B::Keywords) >= 1.23
|
2010-07-14 23:46:46 +00:00
|
|
|
Requires: perl(Config::Tiny) >= 2
|
|
|
|
Requires: perl(Exception::Class) >= 1.23
|
2011-03-31 18:27:59 +00:00
|
|
|
Requires: perl(Exporter) >= 5.63
|
2014-09-15 15:24:09 +00:00
|
|
|
Requires: perl(File::Which)
|
Accepting request 1042273 from devel:languages:perl:autoupdate
- updated to 1.144
see /usr/share/doc/packages/perl-Perl-Critic/Changes
1.144
Perl::Critic now requires Perl 5.10.1.
[New features]
The ProhibitAugmentedAssignmentInDeclaration policy now allows augmented
assignments to "our" variables, if the allow_our option is enabled.
Thanks, Graham Knop. (GH #993)
ProhibitExplicitISA now recommends "use parent" instead of "use base".
(GH #987)
RequireUseWarnings now recognizes that "use v5.36" implies warnings.
Thanks, Andrew Grechkin. (GH #984)
Subroutines::ProhibitNestedSubs now allows lexical subroutines can
now be inside of other subroutines. Thanks, TOYAMA Nao. (GH #946,
#971, #972)
RequireUseStrict now knows that Test::Spec enables it. (GH #906)
ProhibitUnusedCapture now understands @{^CAPTURE} and %{^CAPTURE_ALL} that
were added in Perl 5.26.0. Thanks, Tom Wyant. (GH #778)
Allow numeric operators on special number strings 'NaN' and 'inf'. Thanks,
Omer Gazit. (GH #803)
[Fixes]
Miscellanea::ProhibitUselessNoCritic no longer filters out errors about
itself, just as Miscellanea::ProhibitUnrestrictedNoCritic cannot. Thanks,
Bernhard Schmalhofer. (GH #939)
Fixed GH #878: bareword filehandle dies on `open(CHECK, '/foo');`. Thanks,
Tom Wyant.
[Internals]
Updated to using Perl 5.10.1. Starting migrating to Perl 5.10-isms like
defined-or. Thanks, James Raspass.
[Documentation]
Updated some outdated docs in Perl::Critic::Utils. Thanks, Slaven Rezić.
(GH #951)
1.142
This is the last version of Perl::Critic that will run on Perl 5.6.1. The
next release will require Perl 5.10.1.
[New Features]
Add new policy InputOutput::ProhibitBarewordDirHandles, comparable to
ProhibitBarewordFilehanles. Thanks, raf. (GH #912)
References::ProhibitDoubleSigils policy now allows for Perl's
postfix dereference syntax and does not report a policy violation.
Thanks to Ilya Rassadin (GH #578)
Added Test::Class::Moose and MooseX::MethodAttributes::Role to the
list of modules that are equivalent to "use strict". (GH #808, GH #886)
Subroutines::RequireArgUnpacking now detects anonymous subroutines with
attributes, prototypes or signatures. Thanks, Tom Wyant. (GH #684)
ProhibitVoidMap and ProhibitVoidGrep now detect void context inside subs,
such as:
sub { map { foo($_) } @list; return }
Thanks, James Raspass. (GH #905)
RequireArgUnpacking now allows a closure to be recognized as a way that
subroutine arguments can be unpacked. This is specified with an optional
allow_closures configuration option. Thanks, Tom Wyant. (GH #737)
ProhibitTwoArgOpen now disallows one-arg opens as well. Also, it
no longer allows two-arg opening of STDIN/STDOUT/STDERR. Thanks,
Dan Book. (GH #652, #653)
[Fixes]
ProhibitLeadingZeros would not handle sysopen and lexical variables
correctly. This has been fixed. Thanks, Tom Wyant. (GH #789)
[Documentation]
We note that the any() function is available in both List::MoreUtils and
List::SomeUtils.
Added instructions to perlcritic on how to integrate with Visual Studio
Code. Thanks, sigzero.
[Internals]
Switch to using List::SomeUtils instead of List::MoreUtils.
OBS-URL: https://build.opensuse.org/request/show/1042273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-Critic?expand=0&rev=54
2022-12-13 11:45:18 +00:00
|
|
|
Requires: perl(List::SomeUtils) >= 0.55
|
2011-12-19 15:24:16 +00:00
|
|
|
Requires: perl(Module::Pluggable) >= 3.1
|
2025-01-06 16:54:32 +00:00
|
|
|
Requires: perl(PPI) >= 1.277
|
|
|
|
Requires: perl(PPI::Document) >= 1.277
|
|
|
|
Requires: perl(PPI::Document::File) >= 1.277
|
|
|
|
Requires: perl(PPI::Node) >= 1.277
|
|
|
|
Requires: perl(PPI::Token::Quote::Single) >= 1.277
|
|
|
|
Requires: perl(PPI::Token::Whitespace) >= 1.277
|
2019-04-03 10:55:50 +00:00
|
|
|
Requires: perl(PPIx::QuoteLike)
|
2014-09-15 15:24:09 +00:00
|
|
|
Requires: perl(PPIx::Regexp) >= 0.027
|
2020-01-27 15:17:02 +00:00
|
|
|
Requires: perl(PPIx::Regexp::Util) >= 0.068
|
2023-03-10 10:43:48 +00:00
|
|
|
Requires: perl(PPIx::Utils::Traversal) >= 0.003
|
2013-06-08 10:58:59 +00:00
|
|
|
Requires: perl(Perl::Tidy)
|
2022-10-06 05:42:59 +00:00
|
|
|
Requires: perl(Pod::PlainText)
|
|
|
|
Requires: perl(Pod::Select)
|
2013-06-08 10:58:59 +00:00
|
|
|
Requires: perl(Pod::Spell) >= 1
|
2014-09-15 15:24:09 +00:00
|
|
|
Requires: perl(Readonly) >= 2
|
2019-11-29 07:15:26 +00:00
|
|
|
Requires: perl(String::Format) >= 1.18
|
2014-09-15 15:24:09 +00:00
|
|
|
Requires: perl(Term::ANSIColor) >= 2.02
|
2011-12-19 15:24:16 +00:00
|
|
|
Requires: perl(Test::Builder) >= 0.92
|
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
2023-01-04 15:51:42 +00:00
|
|
|
Requires: perl(parent)
|
2011-03-31 18:27:59 +00:00
|
|
|
Requires: perl(version) >= 0.77
|
2025-01-06 16:54:32 +00:00
|
|
|
Provides: perl(Perl::Critic) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Annotation) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Command) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Config) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Document) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::AggregateConfiguration) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Generic) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::NonExistentPolicy) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Option) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Option::Global) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Option::Global::ExtraParameter) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Option::Global::ParameterValue) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Option::Policy) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Option::Policy::ExtraParameter) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Configuration::Option::Policy::ParameterValue) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Fatal) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Fatal::Generic) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Fatal::Internal) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Fatal::PolicyDefinition) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::IO) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Exception::Parse) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::OptionsProcessor) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitBooleanGrep) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitComplexMappings) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitLvalueSubstr) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitReverseSortBlock) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitShiftRef) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitSleepViaSelect) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitStringyEval) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitStringySplit) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalCan) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalIsa) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitUselessTopic) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitVoidGrep) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitVoidMap) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::RequireBlockGrep) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::RequireBlockMap) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::RequireGlobFunction) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::BuiltinFunctions::RequireSimpleSortBlock) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ClassHierarchies::ProhibitAutoloading) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ClassHierarchies::ProhibitExplicitISA) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ClassHierarchies::ProhibitOneArgBless) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::CodeLayout::ProhibitHardTabs) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::CodeLayout::ProhibitParensWithBuiltins) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::CodeLayout::ProhibitQuotedWordLists) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespace) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::CodeLayout::RequireTidyCode) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::CodeLayout::RequireTrailingCommas) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitCStyleForLoops) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitCascadingIfElse) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitDeepNests) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitLabelsWithSpecialBlockNames) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitMutatingListFunctions) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitPostfixControls) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitUnlessBlocks) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitUntilBlocks) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ControlStructures::ProhibitYadaOperator) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Documentation::PodSpelling) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Documentation::RequirePackageMatchesPodName) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Documentation::RequirePodAtEnd) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Documentation::RequirePodSections) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ErrorHandling::RequireCarping) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ErrorHandling::RequireCheckingReturnValueOfEval) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitBacktickOperators) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitBarewordDirHandles) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitBarewordFileHandles) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitExplicitStdin) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitJoinedReadline) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitOneArgSelect) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitReadlineInForLoop) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::ProhibitTwoArgOpen) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::RequireBracedFileHandleWithPrint) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::RequireBriefOpen) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::RequireCheckedClose) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::RequireCheckedOpen) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::RequireCheckedSyscalls) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::InputOutput::RequireEncodingWithUTF8Layer) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Miscellanea::ProhibitFormats) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Miscellanea::ProhibitTies) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Miscellanea::ProhibitUnrestrictedNoCritic) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Miscellanea::ProhibitUselessNoCritic) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::ProhibitAutomaticExportation) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::ProhibitConditionalUseStatements) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::ProhibitEvilModules) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::ProhibitExcessMainComplexity) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::ProhibitMultiplePackages) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::RequireBarewordIncludes) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::RequireEndWithOne) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::RequireExplicitPackage) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::RequireFilenameMatchesPackage) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::RequireNoMatchVarsWithUseEnglish) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Modules::RequireVersionVar) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::NamingConventions::Capitalization) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::NamingConventions::ProhibitAmbiguousNames) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Objects::ProhibitIndirectSyntax) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::References::ProhibitDoubleSigils) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitCaptureWithoutTest) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitComplexRegexes) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitEnumeratedClasses) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitEscapedMetacharacters) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitFixedStringMatches) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitSingleCharAlternation) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitUnusedCapture) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitUnusualDelimiters) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::ProhibitUselessTopic) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::RequireBracesForMultiline) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::RequireDotMatchAnything) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::RequireExtendedFormatting) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::RegularExpressions::RequireLineBoundaryMatching) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitAmpersandSigils) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitBuiltinHomonyms) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitExcessComplexity) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitManyArgs) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitNestedSubs) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitReturnSort) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProhibitUnusedPrivateSubroutines) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::ProtectPrivateSubs) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::RequireArgUnpacking) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Subroutines::RequireFinalReturn) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::TestingAndDebugging::ProhibitNoStrict) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::TestingAndDebugging::RequireTestLabels) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitCommaSeparatedStatements) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitConstantPragma) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitEmptyQuotes) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitEscapedCharacters) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitImplicitNewlines) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitInterpolationOfLiterals) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitLeadingZeros) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitLongChainsOfMethodCalls) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitMagicNumbers) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitMismatchedOperators) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitMixedBooleanOperators) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitNoisyQuotes) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::ProhibitVersionStrings) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::RequireConstantVersion) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::RequireInterpolationOfMetachars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::RequireNumberSeparators) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::RequireQuotedHeredocTerminator) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitAugmentedAssignmentInDeclaration) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitEvilVariables) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitLocalVars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitMatchVars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitPackageVars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitPerl4PackageNames) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitPunctuationVars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitReusedNames) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProhibitUnusedVariables) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::ProtectPrivateVars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::RequireInitializationForLocalVars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::RequireLexicalLoopIterators) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::RequireLocalizedPunctuationVars) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Policy::Variables::RequireNegativeIndices) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyConfig) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyFactory) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyListing) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyParameter) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyParameter::Behavior) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyParameter::Behavior::Boolean) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyParameter::Behavior::Enumeration) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyParameter::Behavior::Integer) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyParameter::Behavior::String) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::PolicyParameter::Behavior::StringList) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::ProfilePrototype) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Statistics) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::TestUtils) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Theme) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::ThemeListing) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::UserProfile) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Utils) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Utils::Constants) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Utils::McCabe) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Utils::POD) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Utils::PPI) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Utils::Perl) = %{version}
|
|
|
|
Provides: perl(Perl::Critic::Violation) = %{version}
|
|
|
|
Provides: perl(Test::Perl::Critic::Policy) = %{version}
|
2024-03-08 22:56:22 +00:00
|
|
|
%undefine __perllib_provides
|
2011-03-31 18:27:59 +00:00
|
|
|
%{perl_requires}
|
2009-11-28 21:43:11 +00:00
|
|
|
|
|
|
|
%description
|
2010-07-14 23:46:46 +00:00
|
|
|
Perl::Critic is an extensible framework for creating and applying coding
|
|
|
|
standards to Perl source code. Essentially, it is a static source code
|
2017-06-20 06:32:51 +00:00
|
|
|
analysis engine. Perl::Critic is distributed with a number of
|
|
|
|
Perl::Critic::Policy modules that attempt to enforce various coding
|
2011-03-31 18:27:59 +00:00
|
|
|
guidelines. Most Policy modules are based on Damian Conway's book *Perl
|
|
|
|
Best Practices*. However, Perl::Critic is *not* limited to PBP and will
|
|
|
|
even support Policies that contradict Conway. You can enable, disable, and
|
2010-07-14 23:46:46 +00:00
|
|
|
customize those Polices through the Perl::Critic interface. You can also
|
|
|
|
create new Policy modules that suit your own tastes.
|
2009-11-28 21:43:11 +00:00
|
|
|
|
2017-06-20 06:32:51 +00:00
|
|
|
For a command-line interface to Perl::Critic, see the documentation for
|
|
|
|
perlcritic. If you want to integrate Perl::Critic with your build process,
|
|
|
|
Test::Perl::Critic provides an interface that is suitable for test
|
|
|
|
programs. Also, Test::Perl::Critic::Progressive is useful for gradually
|
|
|
|
applying coding standards to legacy code. For the ultimate convenience (at
|
|
|
|
the expense of some flexibility) see the criticism pragma.
|
2011-03-31 18:27:59 +00:00
|
|
|
|
2017-06-20 06:32:51 +00:00
|
|
|
If you'd like to try Perl::Critic without installing anything, there is a
|
|
|
|
web-service available at http://perlcritic.com. The web-service does not
|
|
|
|
yet support all the configuration features that are available in the native
|
|
|
|
Perl::Critic API, but it should give you a good idea of what it does.
|
2010-07-15 00:20:12 +00:00
|
|
|
|
2014-09-15 15:24:09 +00:00
|
|
|
Also, ActivePerl includes a very slick graphical interface to Perl-Critic
|
|
|
|
called 'perlcritic-gui'. You can get a free community edition of ActivePerl
|
2017-06-20 06:32:51 +00:00
|
|
|
from http://www.activestate.com.
|
2009-11-28 21:43:11 +00:00
|
|
|
|
|
|
|
%prep
|
2023-10-27 21:12:07 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2023-03-10 10:43:48 +00:00
|
|
|
|
2023-10-27 21:12:07 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2009-11-28 21:43:11 +00:00
|
|
|
|
|
|
|
%build
|
2023-10-27 21:12:07 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build build --flags=%{?_smp_mflags}
|
2009-11-28 21:43:11 +00:00
|
|
|
|
|
|
|
%check
|
2011-12-19 15:12:24 +00:00
|
|
|
./Build test
|
2009-11-28 21:43:11 +00:00
|
|
|
|
|
|
|
%install
|
2023-10-27 21:12:07 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2010-07-14 23:46:46 +00:00
|
|
|
%perl_gen_filelist
|
2009-11-28 21:43:11 +00:00
|
|
|
|
2010-07-14 23:46:46 +00:00
|
|
|
%files -f %{name}.files
|
2019-11-29 07:15:26 +00:00
|
|
|
%doc Changes CONTRIBUTING.md examples README README.md
|
2017-06-20 06:32:51 +00:00
|
|
|
%license LICENSE
|
2009-11-28 21:43:11 +00:00
|
|
|
|
|
|
|
%changelog
|