update to 1.148 [release 1.148-1mamba;Fri Feb 03 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 09:30:30 +01:00
parent 809f644438
commit 067f0a5d24

View File

@ -1,34 +1,38 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Perl-Critic Name: perl-Perl-Critic
Version: 1.116 Version: 1.148
Release: 2mamba Release: 1mamba
Summary: Perl::Critic - Critique Perl source code for best-practices Summary: Perl::Critic - Critique Perl source code for best-practices
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org URL: https://www.cpan.org/
Source: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz Source: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Perl-Critic-%{version}.tar.gz
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libperl BuildRequires: libperl
BuildRequires: perl-B-Keywords BuildRequires: perl-B-Keywords
BuildRequires: perl-Config-Tiny BuildRequires: perl-Config-Tiny
BuildRequires: perl-Email-Address
BuildRequires: perl-Exception-Class BuildRequires: perl-Exception-Class
BuildRequires: perl-IO-String BuildRequires: perl-List-SomeUtils
BuildRequires: perl-List-MoreUtils BuildRequires: perl-Module-Pluggable
BuildRequires: perl-PPI BuildRequires: perl-PPI
BuildRequires: perl-PPIx-QuoteLike
BuildRequires: perl-PPIx-Regexp BuildRequires: perl-PPIx-Regexp
BuildRequires: perl-PPIx-Utilities BuildRequires: perl-PPIx-Utilities
BuildRequires: perl-Perl-Tidy BuildRequires: perl-Perl-Tidy
BuildRequires: perl-Pod-Spell BuildRequires: perl-Pod-Spell
BuildRequires: perl-Readonly BuildRequires: perl-Readonly
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-String-Format BuildRequires: perl-String-Format
BuildRequires: perl-Test-Simple
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: aspell-en BuildRequires: aspell-en
BuildRequires: perl-List-SomeUtils
BuildRequires: perl-PPIx-QuoteLike
BuildRequires: perl(File::HomeDir) BuildRequires: perl(File::HomeDir)
BuildRequires: perl-File-Which BuildRequires: perl-File-Which
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
@ -69,7 +73,6 @@ BuildRequires: perl(English)
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
Requires: perl(Module::Pluggable) Requires: perl(Module::Pluggable)
Requires: perl(PPI) Requires: perl(PPI)
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Perl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to enforce various coding guidelines. Perl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to enforce various coding guidelines.
@ -81,13 +84,14 @@ Most Policy modules are based on Damian Conway's book Perl Best Practices. Howev
find . -type f -exec chmod -c -x {} + find . -type f -exec chmod -c -x {} +
%build %build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
%make %{?_smp_mflags} ./Build
#% make test ./Build test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl ./Build install --destdir=%{buildroot}
packlist=`find %{buildroot} -name .packlist` packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \ [ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
@ -106,6 +110,9 @@ done
%doc LICENSE %doc LICENSE
%changelog %changelog
* Fri Feb 03 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.148-1mamba
- update to 1.148
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.116-2mamba * Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.116-2mamba
- perl 5.16 mass rebuild - perl 5.16 mass rebuild