From b2f94902a477296ee22e55fca24bd288f766e095 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 7 Aug 2024 09:27:34 +0200 Subject: [PATCH] update to 2.000 [release 2.000-1mamba;Thu Aug 31 2023] --- perl-UV.spec | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/perl-UV.spec b/perl-UV.spec index 758e062..722d9ec 100644 --- a/perl-UV.spec +++ b/perl-UV.spec @@ -1,22 +1,25 @@ %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-UV -Version: 0.24 -Release: 3mamba +Version: 2.000 +Release: 1mamba Summary: UV - Perl interface to libuv Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ -Source: http://search.cpan.org/CPAN/authors/id/T/TY/TYPESTER/UV-%{version}.tar.gz +Source: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/UV-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libuv-devel +BuildRequires: perl-Scalar-List-Utils BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 BuildRequires: perl-devel +BuildRequires: perl-Module-Build-Using-PkgConfig BuildRequires: perl-Test-TCP Requires: perl >= %perl_major_ver @@ -26,15 +29,15 @@ UV is perl interface to libuv. %prep %setup -q -n UV-%{version} -%build -%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%make -#% make test +%build +%{__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 | \ @@ -46,7 +49,7 @@ for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done -find %{buildroot} -name *.so -exec chmod u+w {} \; +#find %{buildroot} -name *.so -exec chmod u+w {} \; %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -56,6 +59,9 @@ find %{buildroot} -name *.so -exec chmod u+w {} \; %doc LICENSE %changelog +* Thu Aug 31 2023 Silvan Calarco 2.000-1mamba +- update to 2.000 + * Sun Apr 16 2023 Sdk Build System 0.24-3mamba - rebuilt with perl 5.36.0