update to 1.17 [release 1.17-1mamba;Mon Jan 10 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 09:49:17 +01:00
parent 3faf86240c
commit c591020b66

View File

@ -1,24 +1,25 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-TheSchwartz
Version: 1.10
Version: 1.17
Release: 1mamba
Summary: TheSchwartz - reliable job queue
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/SI/SIXAPART/TheSchwartz-%{version}.tar.gz
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/authors/id/A/AK/AKIYM/TheSchwartz-%{version}.tar.gz
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Class-Accessor
BuildRequires: perl-Data-ObjectDriver
BuildRequires: perl-DBI
BuildRequires: perl-Data-ObjectDriver
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
TheSchwartz - reliable job queue.
@ -27,14 +28,13 @@ TheSchwartz - reliable job queue.
%setup -q -n TheSchwartz-%{version}
%build
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make
%make test
%{__perl} Build.PL installdirs=vendor
./Build
#./Build test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
./Build install --destdir=%{buildroot}
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
@ -56,5 +56,8 @@ done
# %doc CHANGES
%changelog
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17-1mamba
- update to 1.17
* Thu Nov 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-1mamba
- package created by silvan using the webbuild interface