From 93f250e3f6427c337ff23aa494286a2f129b7183 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:42:49 +0100 Subject: [PATCH] automatic version update by autodist [release 1.28-1mamba;Sat Feb 27 2021] --- perl-Test-Kwalitee.spec | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/perl-Test-Kwalitee.spec b/perl-Test-Kwalitee.spec index e82ca98..39ad456 100644 --- a/perl-Test-Kwalitee.spec +++ b/perl-Test-Kwalitee.spec @@ -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 -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 1.28-1mamba +- automatic version update by autodist + * Fri Aug 30 2013 Automatic Build System 1.01-3mamba - automatic rebuild by autodist