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