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 Name: perl-DateTime
Epoch: 1 Epoch: 1
Version: 1.04 Version: 1.59
Release: 2mamba Release: 1mamba
Summary: DateTime - Complete, correct, and easy to use date/time object implementation Summary: DateTime - Complete, correct, and easy to use date/time object implementation
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org URL: https://www.cpan.org/
Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-%{version}.tar.gz Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-%{version}.tar.gz
License: Artistic License: Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -17,9 +17,12 @@ BuildRequires: glibc-devel
BuildRequires: libperl BuildRequires: libperl
BuildRequires: perl-DateTime-Locale BuildRequires: perl-DateTime-Locale
BuildRequires: perl-DateTime-TimeZone 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-Try-Tiny
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-namespace-autoclean
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver BuildRequires: perl-devel >= %perl_major_ver
@ -27,7 +30,6 @@ BuildRequires: perl-DateTime-Locale
BuildRequires: perl-DateTime-TimeZone BuildRequires: perl-DateTime-TimeZone
BuildRequires: perl-Params-Validate BuildRequires: perl-Params-Validate
Provides: perl(DateTimePPExtra) Provides: perl(DateTimePPExtra)
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME (needed for "make test"): # FIXME (needed for "make test"):
# DateTime::Format::ICal # DateTime::Format::ICal
@ -44,32 +46,37 @@ This is done by using the DateTime::TimeZone module.
%setup -q -n DateTime-%{version} %setup -q -n DateTime-%{version}
%build %build
%{__perl} Build.PL installdirs=vendor %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
./Build
./Build test %make
%make test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./Build install destdir=%{buildroot} %makeinstall_perl
packlist=`find %{buildroot} -name .packlist` packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \ [ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist sort -u > .packlist && rm -f $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist echo "%dir ${dir#%buildroot}" >> .packlist
done done
find %{buildroot} -name *.so -exec chmod u+w {} \;
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist %files -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%changelog %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 * Fri Nov 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.04-2mamba
- rebuilt with perl 5.24 - rebuilt with perl 5.24