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)
Name: perl-Future
Version: 0.35
Version: 0.47
Release: 1mamba
Summary: Future - represent an operation awaiting completion
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/Future-%{version}.tar.gz
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-%{version}.tar.gz
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-Test-Simple
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-devel
BuildRequires: perl-Test-Identity
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Future - represent an operation awaiting completion.
@ -26,14 +27,13 @@ Future - represent an operation awaiting completion.
%setup -q -n Future-%{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 | \
@ -51,10 +51,11 @@ done
%files -f .packlist
%defattr(-,root,root)
%doc LICENSE
## note: eventually add the remaining documents (if any)
# %doc README
%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
- automatic update by autodist