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