From d56d73c6988896d86389b019cb8c6488c06bb6b8 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:50:20 +0100 Subject: [PATCH] automatic version update by autodist [release 1.59-1mamba;Sat Mar 11 2023] --- perl-DateTime.spec | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/perl-DateTime.spec b/perl-DateTime.spec index a9caca1..28debed 100644 --- a/perl-DateTime.spec +++ b/perl-DateTime.spec @@ -2,14 +2,14 @@ Name: perl-DateTime Epoch: 1 -Version: 1.04 -Release: 2mamba +Version: 1.59 +Release: 1mamba Summary: DateTime - Complete, correct, and easy to use date/time object implementation Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba -Packager: Aleph0 -URL: http://www.cpan.org +Packager: Silvan Calarco +URL: https://www.cpan.org/ Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-%{version}.tar.gz License: Artistic ## AUTOBUILDREQ-BEGIN @@ -17,9 +17,12 @@ BuildRequires: glibc-devel BuildRequires: libperl BuildRequires: perl-DateTime-Locale BuildRequires: perl-DateTime-TimeZone -BuildRequires: perl-Params-Validate +BuildRequires: perl-Params-ValidationCompiler +BuildRequires: perl-Scalar-List-Utils +BuildRequires: perl-Specio BuildRequires: perl-Try-Tiny BuildRequires: perl-devel +BuildRequires: perl-namespace-autoclean ## AUTOBUILDREQ-END Requires: perl >= %perl_major_ver BuildRequires: perl-devel >= %perl_major_ver @@ -27,7 +30,6 @@ BuildRequires: perl-DateTime-Locale BuildRequires: perl-DateTime-TimeZone BuildRequires: perl-Params-Validate Provides: perl(DateTimePPExtra) -BuildRoot: %{_tmppath}/%{name}-%{version}-root # FIXME (needed for "make test"): # DateTime::Format::ICal @@ -44,32 +46,37 @@ This is done by using the DateTime::TimeZone module. %setup -q -n DateTime-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build -./Build test +%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" + +%make +%make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -./Build install destdir=%{buildroot} +%makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ - sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ - sort -u > .packlist && rm $packlist + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm -f $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done +find %{buildroot} -name *.so -exec chmod u+w {} \; + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog +* Sat Mar 11 2023 Automatic Build System 1.59-1mamba +- automatic version update by autodist + * Fri Nov 11 2016 Silvan Calarco 1.04-2mamba - rebuilt with perl 5.24