Compare commits
No commits in common. "c8" and "c9" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/DateTime-1.50.tar.gz
|
SOURCES/DateTime-1.54.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
6f35480ff4419333f4ae24de94a42a83a9382e64 SOURCES/DateTime-1.50.tar.gz
|
30c0a350a7482b6765e14c4f584b718686b21018 SOURCES/DateTime-1.54.tar.gz
|
||||||
|
@ -1,28 +1,32 @@
|
|||||||
# Run optional test
|
# Run optional test
|
||||||
|
%if ! (0%{?rhel})
|
||||||
%bcond_without perl_DateTime_enables_optional_test
|
%bcond_without perl_DateTime_enables_optional_test
|
||||||
|
%else
|
||||||
|
%bcond_with perl_DateTime_enables_optional_test
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: perl-DateTime
|
Name: perl-DateTime
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 1.50
|
Version: 1.54
|
||||||
Release: 1%{?dist}
|
Release: 4%{?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)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(DateTime::Locale) >= 1.06
|
BuildRequires: perl(DateTime::Locale) >= 1.06
|
||||||
BuildRequires: perl(DateTime::TimeZone) >= 2.02
|
BuildRequires: perl(DateTime::TimeZone) >= 2.44
|
||||||
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
||||||
BuildRequires: perl(integer)
|
BuildRequires: perl(integer)
|
||||||
BuildRequires: perl(namespace::autoclean) >= 0.19
|
BuildRequires: perl(namespace::autoclean) >= 0.19
|
||||||
@ -46,15 +50,15 @@ BuildRequires: perl(XSLoader)
|
|||||||
# Tests:
|
# Tests:
|
||||||
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
||||||
BuildRequires: perl(CPAN::Meta::Requirements)
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
BuildRequires: perl(Test::More) >= 0.96
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
BuildRequires: perl(Test::Warnings) >= 0.005
|
BuildRequires: perl(Test::Warnings) >= 0.005
|
||||||
BuildRequires: perl(utf8)
|
BuildRequires: perl(utf8)
|
||||||
%if %{with perl_DateTime_enables_optional_test}
|
%if %{with perl_DateTime_enables_optional_test} && !%{defined perl_bootstrap}
|
||||||
# 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
|
||||||
@ -85,12 +89,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
|
||||||
@ -108,6 +112,62 @@ make test
|
|||||||
%{_mandir}/man3/DateTime::Types.3*
|
%{_mandir}/man3/DateTime::Types.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2:1.54-4
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:1.54-3
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.54-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Dec 5 2020 Paul Howarth <paul@city-fan.org> - 2:1.54-1
|
||||||
|
- Update to 1.54
|
||||||
|
- Documentation updates
|
||||||
|
|
||||||
|
* Mon Nov 9 2020 Paul Howarth <paul@city-fan.org> - 2:1.53-1
|
||||||
|
- Update to 1.53
|
||||||
|
- Added a $dt->rfc3339 method, based on discussion in GH#109
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.52-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.52-3
|
||||||
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.52-2
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Mon Mar 2 2020 Paul Howarth <paul@city-fan.org> - 2:1.52-1
|
||||||
|
- Update to 1.52
|
||||||
|
- Added a $dt->is_between($dt1, $dt2) method (based on GH#97)
|
||||||
|
- Simplify the calculation of leap seconds in XS (GH#91); this is a little
|
||||||
|
more efficient for most use cases (anything with future or recent past
|
||||||
|
datetimes)
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.51-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.51-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.51-3
|
||||||
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.51-2
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Aug 2 2018 Paul Howarth <paul@city-fan.org> - 2:1.50-1
|
* Thu Aug 2 2018 Paul Howarth <paul@city-fan.org> - 2:1.50-1
|
||||||
- Update to 1.50
|
- Update to 1.50
|
||||||
- The %%F strftime pattern incorrectly zero-padded numbers less than four
|
- The %%F strftime pattern incorrectly zero-padded numbers less than four
|
||||||
|
Loading…
Reference in New Issue
Block a user