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