Compare commits

...

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

5 changed files with 12 additions and 80 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/DateTime-[0-9.]*.tar.gz SOURCES/DateTime-1.50.tar.gz

View File

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

View File

@ -1,32 +1,28 @@
# 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.54 Version: 1.50
Release: 4%{?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/modules/by-module/DateTime/DateTime-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/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.44 BuildRequires: perl(DateTime::TimeZone) >= 2.02
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
@ -50,15 +46,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} && !%{defined perl_bootstrap} %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 +85,12 @@ perl Makefile.PL \
OPTIMIZE="%{optflags}" \ OPTIMIZE="%{optflags}" \
NO_PACKLIST=1 \ NO_PACKLIST=1 \
NO_PERLLOCAL=1 NO_PERLLOCAL=1
%{make_build} make %{?_smp_mflags}
%install %install
%{make_install} make install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -empty -delete find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot} %{_fixperms} %{buildroot}
%check %check
make test make test
@ -112,62 +108,6 @@ 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

View File

@ -1,7 +0,0 @@
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")

View File

@ -1 +0,0 @@
SHA512 (DateTime-1.54.tar.gz) = b974bf2191d6d9ac5e674edf05da8bca1b506c953dc6280d16358f09c55601bf47c0158de5ee46f79ee8e56e8e358e0168a70480cf7a24270475914e5278b843