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

This commit is contained in:
Silvan Calarco 2024-01-06 09:02:11 +01:00
parent c841731f65
commit d2a4e83331

View File

@ -1,23 +1,24 @@
%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-Future Name: perl-Future
Version: 0.35 Version: 0.47
Release: 1mamba Release: 1mamba
Summary: Future - represent an operation awaiting completion Summary: Future - represent an operation awaiting completion
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/Future-%{version}.tar.gz Source: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-%{version}.tar.gz
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-Test-Simple
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: perl-devel
BuildRequires: perl-Test-Identity BuildRequires: perl-Test-Identity
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Future - represent an operation awaiting completion. Future - represent an operation awaiting completion.
@ -26,14 +27,13 @@ Future - represent an operation awaiting completion.
%setup -q -n Future-%{version} %setup -q -n Future-%{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 | \
@ -51,10 +51,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
%changelog %changelog
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.47-1mamba
- update to 0.47
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 0.35-1mamba * Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 0.35-1mamba
- automatic update by autodist - automatic update by autodist