automatic version update by autodist [release 1.09-1mamba;Sun May 16 2021]
This commit is contained in:
parent
6d72f11433
commit
88004c1869
@ -1,27 +1,27 @@
|
|||||||
%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-Inter
|
Name: perl-Test-Inter
|
||||||
Version: 1.06
|
Version: 1.09
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Test::Inter - framework for more readable interactive test scripts
|
Summary: Test::Inter - framework for more readable interactive test scripts
|
||||||
Group: System/Libraries/Perl
|
Group: System/Libraries/Perl
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.cpan.org
|
URL: https://www.cpan.org/
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz
|
Source: https://cpan.metacpan.org/modules/by-module/Test/Test-Inter-%{version}.tar.gz
|
||||||
License: GPL, Artistic
|
License: GPL, Artistic
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: perl(File::Find::Rule)
|
||||||
BuildRequires: perl(File::Basename)
|
BuildRequires: perl(File::Basename)
|
||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Test::Pod)
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
Requires: perl >= %perl_major_ver
|
Requires: perl >= %perl_major_ver
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
%prep
|
||||||
%setup -q -n Test-Inter-%{version}
|
%setup -q -n Test-Inter-%{version}
|
||||||
|
|
||||||
chmod -x examples/*
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=core
|
%{__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 destdir=%{buildroot} create_packlist=0
|
%makeinstall_perl
|
||||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
||||||
chmod -R u+w %{buildroot}/*
|
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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files -f .packlist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{perl_privlib}/Test
|
|
||||||
%{_mandir}/man3/*.3pm.gz
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
# README TODO examples
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 09 2015 Automatic Build System <autodist@mambasoft.it> 1.06-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user