Compare commits

...

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

3 changed files with 10 additions and 74 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/DateTime-Format-Strptime-1.79.tar.gz SOURCES/DateTime-Format-Strptime-1.75.tar.gz

View File

@ -1 +1 @@
6be94ca5b249dc8329a105d84a868f777715f053 SOURCES/DateTime-Format-Strptime-1.79.tar.gz f43782c61e3477591ce3d0f385a4702b57204356 SOURCES/DateTime-Format-Strptime-1.75.tar.gz

View File

@ -1,11 +1,11 @@
Name: perl-DateTime-Format-Strptime Name: perl-DateTime-Format-Strptime
Epoch: 1 Epoch: 1
Version: 1.79 Version: 1.75
Release: 2%{?dist} Release: 2%{?dist}
Summary: Parse and format strptime and strftime patterns Summary: Parse and format strptime and strftime patterns
License: Artistic 2.0 License: Artistic 2.0
URL: https://metacpan.org/release/DateTime-Format-Strptime URL: http://search.cpan.org/dist/DateTime-Format-Strptime/
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-Strptime-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
@ -17,10 +17,11 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(DateTime) >= 1.00 BuildRequires: perl(DateTime) >= 1.00
BuildRequires: perl(DateTime::Locale) >= 1.30 BuildRequires: perl(DateTime::Locale) >= 1.05
BuildRequires: perl(DateTime::Locale::Base) BuildRequires: perl(DateTime::Locale::Base)
BuildRequires: perl(DateTime::TimeZone) >= 2.09 BuildRequires: perl(DateTime::TimeZone) >= 2.09
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(Package::DeprecationManager) >= 0.15
BuildRequires: perl(Params::ValidationCompiler) BuildRequires: perl(Params::ValidationCompiler)
BuildRequires: perl(parent) BuildRequires: perl(parent)
BuildRequires: perl(Specio) >= 0.33 BuildRequires: perl(Specio) >= 0.33
@ -33,7 +34,6 @@ BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Test Suite # Test Suite
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(FindBin)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Fatal)
@ -57,10 +57,10 @@ returns the DateTime object associated.
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build} make %{?_smp_mflags}
%install %install
%{make_install} make install DESTDIR=%{buildroot}
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
@ -68,76 +68,12 @@ make test
%files %files
%license LICENSE %license LICENSE
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %doc Changes CONTRIBUTING.md README.md
%{perl_vendorlib}/DateTime/ %{perl_vendorlib}/DateTime/
%{_mandir}/man3/DateTime::Format::Strptime.3* %{_mandir}/man3/DateTime::Format::Strptime.3*
%{_mandir}/man3/DateTime::Format::Strptime::Types.3* %{_mandir}/man3/DateTime::Format::Strptime::Types.3*
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.79-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jun 23 2021 Michal Josef Spacek <mspacek@redhat.com> - 1:1.79-1
- Update to 1.79
- Fix too-strict type checking for time zones: this module now uses the same
check as DateTime itself, which allows for things that don't subclass
DateTime::TimeZone as long as they provide the same API (GH#30) (rhbz#1964546)
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.78-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.78-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Dec 16 2020 Paul Howarth <paul@city-fan.org> - 1:1.78-1
- Update to 1.78
- Fix tests for new failure caused by locale data changes in DateTime::Locale
1.29 (GH#28)
- Added a warning about using locale-specific patterns; some of these patterns
can change quite a bit as the locale data is updated, so using them for
parsing does not produce stable results across time - this is what caused
the test failures that this release fixes
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.77-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.77-2
- Perl 5.32 rebuild
* Mon Mar 2 2020 Paul Howarth <paul@city-fan.org> - 1:1.77-1
- Update to 1.77
- When the parsed string contained an invalid time zone offset (parsed with
"%%z") like "-9999", the error handling set in the parser's constructor was
ignored and an exception was always thrown (GH#25)
- Use %%{make_build} and %%{make_install}
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.76-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.76-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.76-2
- Perl 5.30 rebuild
* Fri Feb 8 2019 Paul Howarth <paul@city-fan.org> - 1:1.76-1
- Update to 1.76
- The ability to set the pattern, time_zone, and locale via accessor methods
has been removed; this was deprecated over three years ago in version 1.60
(it also turns out that the setting was actually broken for a long time but
no one seemed to notice)
- Package new upstream document CODE_OF_CONDUCT.md
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.75-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.75-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.75-3
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.75-2 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.75-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild