Update to 1.51
- New upstream release 1.51 - Fix CLDR formatting of 'S' pattern with more than 9 digits of precision; while we only store nanoseconds in the DateTime object we should still be able to handle an arbitrary number of digits properly (GH#89) - Modernize spec using %{make_build} and %{make_install}
This commit is contained in:
parent
33f7483812
commit
370e7086cf
3
.rpmlint
3
.rpmlint
@ -1,3 +0,0 @@
|
|||||||
from Config import *
|
|
||||||
|
|
||||||
addFilter("spelling-error %description -l en_US proleptic -> ")
|
|
7
perl-DateTime.rpmlintrc
Normal file
7
perl-DateTime.rpmlintrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from Config import *
|
||||||
|
|
||||||
|
# proleptic: of a calendar, extrapolated to dates prior to its first adoption
|
||||||
|
addFilter("spelling-error %description -l en_US proleptic -> ")
|
||||||
|
|
||||||
|
# DateTime.so is not a library
|
||||||
|
addFilter("library-not-linked-against-libc /usr/lib.*/DateTime/DateTime\.so")
|
@ -7,20 +7,20 @@
|
|||||||
|
|
||||||
Name: perl-DateTime
|
Name: perl-DateTime
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 1.50
|
Version: 1.51
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Date and time object for Perl
|
Summary: Date and time object for Perl
|
||||||
License: Artistic 2.0
|
License: Artistic 2.0
|
||||||
URL: https://metacpan.org/release/DateTime
|
URL: https://metacpan.org/release/DateTime
|
||||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-%{version}.tar.gz
|
||||||
# Build:
|
# Build:
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
# Run-time:
|
# Run-time:
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
@ -59,6 +59,7 @@ BuildRequires: perl(utf8)
|
|||||||
%if %{with perl_DateTime_enables_optional_test}
|
%if %{with perl_DateTime_enables_optional_test}
|
||||||
# Optional Tests:
|
# Optional Tests:
|
||||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||||
|
BuildRequires: perl(DateTime::Format::Strptime)
|
||||||
BuildRequires: perl(Storable)
|
BuildRequires: perl(Storable)
|
||||||
BuildRequires: perl(Test::Warn)
|
BuildRequires: perl(Test::Warn)
|
||||||
%endif
|
%endif
|
||||||
@ -89,12 +90,12 @@ perl Makefile.PL \
|
|||||||
OPTIMIZE="%{optflags}" \
|
OPTIMIZE="%{optflags}" \
|
||||||
NO_PACKLIST=1 \
|
NO_PACKLIST=1 \
|
||||||
NO_PERLLOCAL=1
|
NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
%{make_install}
|
||||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -112,6 +113,13 @@ make test
|
|||||||
%{_mandir}/man3/DateTime::Types.3*
|
%{_mandir}/man3/DateTime::Types.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 22 2019 Paul Howarth <paul@city-fan.org> - 2:1.51-1
|
||||||
|
- Update to 1.51
|
||||||
|
- Fix CLDR formatting of 'S' pattern with more than 9 digits of precision;
|
||||||
|
while we only store nanoseconds in the DateTime object we should still be
|
||||||
|
able to handle an arbitrary number of digits properly (GH#89)
|
||||||
|
- Modernize spec using %%{make_build} and %%{make_install}
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.50-2
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.50-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (DateTime-1.50.tar.gz) = fa8f57aac2b736a5b8b70005b74a81ea4bc80143714a79f16896c4214776c591f3db6689841a6b5217070e02ccea6ccf30b565c3bb0acdce9d1ea44eb61fe85a
|
SHA512 (DateTime-1.51.tar.gz) = d94d673ecefb7ed8bd485f7be9f3c2c0e9a07c402793f14f5af3bc026cc875d7d2a151f72f1c1d3518e08af133eab247796400215f4304f785d17d84e53caded
|
||||||
|
Loading…
Reference in New Issue
Block a user