automatic version update by autodist [release 1.59-1mamba;Sat Mar 11 2023]

This commit is contained in:
Automatic Build System 2024-01-06 08:50:20 +01:00
parent 0eb4137611
commit d56d73c698

View File

@ -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 <aleph0@openmamba.org>
URL: http://www.cpan.org
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 1.59-1mamba
- automatic version update by autodist
* Fri Nov 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.04-2mamba
- rebuilt with perl 5.24