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

This commit is contained in:
Automatic Build System 2024-01-06 09:45:40 +01:00
parent 070261861b
commit ba780e4381

View File

@ -1,15 +1,15 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Test-TCP
Version: 2.02
Version: 2.22
Release: 1mamba
Summary: Test::TCP - testing TCP program
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/T/TO/TOKUHIROM/Test-TCP-%{version}.tar.gz
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/modules/by-module/Test/Test-TCP-%{version}.tar.gz
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
@ -17,7 +17,6 @@ BuildRequires: perl-Test-SharedFork
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Test::TCP - testing TCP program.
@ -26,16 +25,14 @@ Test::TCP - testing TCP program.
%setup -q -n Test-TCP-%{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}"
export PERL_INSTALL_ROOT=%{buildroot}
./Build install \
--install_path bindoc="%{_mandir}/man1" \
--install_path libdoc="%{_mandir}/man3"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
@ -53,10 +50,11 @@ done
%files -f .packlist
%defattr(-,root,root)
%doc LICENSE
## note: eventually add the remaining documents (if any)
# %doc README.md
%changelog
* Sun May 16 2021 Automatic Build System <autodist@mambasoft.it> 2.22-1mamba
- automatic version update by autodist
* Fri Oct 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-1mamba
- update to 2.02