From 88004c1869ac0e2210b757531adafd62d6b01e46 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:42:42 +0100 Subject: [PATCH] automatic version update by autodist [release 1.09-1mamba;Sun May 16 2021] --- perl-Test-Inter.spec | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/perl-Test-Inter.spec b/perl-Test-Inter.spec index 2bd3f52..19fcecf 100644 --- a/perl-Test-Inter.spec +++ b/perl-Test-Inter.spec @@ -1,27 +1,27 @@ %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Test-Inter -Version: 1.06 +Version: 1.09 Release: 1mamba Summary: Test::Inter - framework for more readable interactive test scripts Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.cpan.org -Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz +URL: https://www.cpan.org/ +Source: https://cpan.metacpan.org/modules/by-module/Test/Test-Inter-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-devel ## AUTOBUILDREQ-END +BuildRequires: perl(File::Find::Rule) BuildRequires: perl(File::Basename) BuildRequires: perl(IO::File) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) Requires: perl >= %perl_major_ver -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is another framework for writing test scripts. It is loosely inspired by Test::More, and has most of it's functionality, but it is not a drop-in replacement. @@ -29,30 +29,37 @@ This is another framework for writing test scripts. It is loosely inspired by Te %prep %setup -q -n Test-Inter-%{version} -chmod -x examples/* - %build -%{__perl} Build.PL installdirs=core -./Build -./Build test +%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" + +%make +%make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -./Build install destdir=%{buildroot} create_packlist=0 -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; -chmod -R u+w %{buildroot}/* +%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 -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 +done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files -f .packlist %defattr(-,root,root) -%{perl_privlib}/Test -%{_mandir}/man3/*.3pm.gz %doc LICENSE -# README TODO examples %changelog +* Sun May 16 2021 Automatic Build System 1.09-1mamba +- automatic version update by autodist + * Mon Mar 09 2015 Automatic Build System 1.06-1mamba - automatic update by autodist