Update to 1.77

- New upstream release 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}
This commit is contained in:
Paul Howarth 2020-03-02 13:11:19 +00:00
parent 7a3af9d69a
commit 2363b5035c
2 changed files with 13 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Name: perl-DateTime-Format-Strptime
Epoch: 1
Version: 1.76
Release: 4%{?dist}
Version: 1.77
Release: 1%{?dist}
Summary: Parse and format strptime and strftime patterns
License: Artistic 2.0
URL: https://metacpan.org/release/DateTime-Format-Strptime
@ -33,6 +33,7 @@ BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(FindBin)
BuildRequires: perl(lib)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Fatal)
@ -56,10 +57,10 @@ returns the DateTime object associated.
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%{make_build}
%install
make install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} -c %{buildroot}
%check
@ -73,6 +74,13 @@ make test
%{_mandir}/man3/DateTime::Format::Strptime::Types.3*
%changelog
* 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

View File

@ -1 +1 @@
SHA512 (DateTime-Format-Strptime-1.76.tar.gz) = 896c6f1bdb77cf21f1170aae97466a96d7a4469d478f31ea66c16ed9ba5c86edd184fa578ea113bcc90a25fbd6b4ae5264053f1ef6092764b15f7fd461b491c9
SHA512 (DateTime-Format-Strptime-1.77.tar.gz) = d6f997831ffe054b6052dc7d9a783fa64fb2dd90babbd97ea2dd11eacc0e6d1a6718c2dc877c444863be502482f6fc856f02f0feae8abb36220b60f417ee87ec