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