automatic version update by autodist [release 1.28-1mamba;Sat Feb 27 2021]

This commit is contained in:
Automatic Build System 2024-01-06 09:42:49 +01:00
parent 86e75f9521
commit 93f250e3f6

View File

@ -1,27 +1,26 @@
%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-Test-Kwalitee Name: perl-Test-Kwalitee
Version: 1.01 Version: 1.28
Release: 3mamba Release: 1mamba
Summary: Test::Kwalitee - An automated test for signs of quality in a Perl module distribtion Summary: Test::Kwalitee - An automated test for signs of quality in a Perl module distribtion
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org> Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org URL: https://www.cpan.org
Source: http://www.cpan.org/modules/by-module/Test/Test-Kwalitee-1.01.tar.gz Source: https://cpan.metacpan.org/modules/by-module/Test/Test-Kwalitee-%{version}.tar.gz
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libperl BuildRequires: libperl
BuildRequires: perl-Module-CPANTS-Analyse BuildRequires: perl-Module-CPANTS-Analyse
BuildRequires: perl-Test-Simple
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: perl-devel >= %perl_major_ver BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-Module-CPANTS-Analyse
BuildRequires: perl-Module-Signature BuildRequires: perl-Module-Signature
BuildRequires: perl-Test-Warnings
BuildRequires: perl-CPAN-Meta-Check
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
An automated test for signs of quality in a Perl module distribtion. An automated test for signs of quality in a Perl module distribtion.
@ -30,28 +29,23 @@ An automated test for signs of quality in a Perl module distribtion.
%setup -q -n Test-Kwalitee-%{version} %setup -q -n Test-Kwalitee-%{version}
%build %build
perl Build.PL installdirs=vendor %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
./Build
#./Build test %make
%make test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./Build install \ %makeinstall_perl
destdir="%{buildroot}" \
--install_path bindoc="%{_mandir}/man1" \
--install_path libdoc="%{_mandir}/man3"
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" | \
sort -u > .packlist && rm $packlist sort -u > .packlist && rm -f $packlist
find %{buildroot}%{perl_vendorlib} \
-type d -depth -exec rmdir {} 2>/dev/null \;
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do for dir in `find %{buildroot} -type d | grep $strid`; do
echo %dir ${dir#%buildroot} >> .packlist echo "%dir ${dir#%buildroot}" >> .packlist
done done
%clean %clean
@ -62,6 +56,9 @@ rm -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
- automatic version update by autodist
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 1.01-3mamba * Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 1.01-3mamba
- automatic rebuild by autodist - automatic rebuild by autodist