update to 0.19 [release 0.19-1mamba;Sun Jan 09 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:39:04 +01:00
parent c136f6afb0
commit 1f01f38631

View File

@ -1,15 +1,15 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-CPS
Version: 0.18
Version: 0.19
Release: 1mamba
Summary: CPS - manage flow of control in Continuation-Passing Style
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/P/PE/PEVANS/CPS-%{version}.tar.gz
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/CPS-%{version}.tar.gz
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel
@ -17,7 +17,6 @@ BuildRequires: perl-devel
BuildRequires: perl-Test-Refcount
BuildRequires: perl-Future
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
CPS - manage flow of control in Continuation-Passing Style.
@ -26,15 +25,13 @@ CPS - manage flow of control in Continuation-Passing Style.
%setup -q -n CPS-%{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 | \
@ -54,6 +51,9 @@ done
%doc LICENSE README
%changelog
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-1mamba
- update to 0.19
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 0.18-1mamba
- automatic version update by autodist