Compare commits

...

No commits in common. "c8" and "c9" have entirely different histories.
c8 ... c9

3 changed files with 72 additions and 12 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/DateTime-1.50.tar.gz
SOURCES/DateTime-1.54.tar.gz

View File

@ -1 +1 @@
6f35480ff4419333f4ae24de94a42a83a9382e64 SOURCES/DateTime-1.50.tar.gz
30c0a350a7482b6765e14c4f584b718686b21018 SOURCES/DateTime-1.54.tar.gz

View File

@ -1,28 +1,32 @@
# Run optional test
%if ! (0%{?rhel})
%bcond_without perl_DateTime_enables_optional_test
%else
%bcond_with perl_DateTime_enables_optional_test
%endif
Name: perl-DateTime
Epoch: 2
Version: 1.50
Release: 1%{?dist}
Version: 1.54
Release: 4%{?dist}
Summary: Date and time object for Perl
License: Artistic 2.0
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:
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
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(integer)
BuildRequires: perl(namespace::autoclean) >= 0.19
@ -46,15 +50,15 @@ BuildRequires: perl(XSLoader)
# Tests:
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Warnings) >= 0.005
BuildRequires: perl(utf8)
%if %{with perl_DateTime_enables_optional_test}
%if %{with perl_DateTime_enables_optional_test} && !%{defined perl_bootstrap}
# Optional Tests:
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(DateTime::Format::Strptime)
BuildRequires: perl(Storable)
BuildRequires: perl(Test::Warn)
%endif
@ -85,12 +89,12 @@ perl Makefile.PL \
OPTIMIZE="%{optflags}" \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make %{?_smp_mflags}
%{make_build}
%install
make install DESTDIR=%{buildroot}
%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
make test
@ -108,6 +112,62 @@ make test
%{_mandir}/man3/DateTime::Types.3*
%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
- Update to 1.50
- The %%F strftime pattern incorrectly zero-padded numbers less than four