automatic version update by autodist [release 1.09-1mamba;Sun May 16 2021]

This commit is contained in:
Automatic Build System 2024-01-06 09:42:42 +01:00
parent 6d72f11433
commit 88004c1869

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 1.09-1mamba
- automatic version update by autodist
* Mon Mar 09 2015 Automatic Build System <autodist@mambasoft.it> 1.06-1mamba
- automatic update by autodist