From 2363b5035c7ebca0aeccd04872cd8b3c4d62ccc0 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 2 Mar 2020 13:11:19 +0000 Subject: [PATCH] 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} --- perl-DateTime-Format-Strptime.spec | 16 ++++++++++++---- sources | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/perl-DateTime-Format-Strptime.spec b/perl-DateTime-Format-Strptime.spec index 8c2ae99..1c972ed 100644 --- a/perl-DateTime-Format-Strptime.spec +++ b/perl-DateTime-Format-Strptime.spec @@ -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 - 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 - 1:1.76-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 0155f6f..b8159c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (DateTime-Format-Strptime-1.76.tar.gz) = 896c6f1bdb77cf21f1170aae97466a96d7a4469d478f31ea66c16ed9ba5c86edd184fa578ea113bcc90a25fbd6b4ae5264053f1ef6092764b15f7fd461b491c9 +SHA512 (DateTime-Format-Strptime-1.77.tar.gz) = d6f997831ffe054b6052dc7d9a783fa64fb2dd90babbd97ea2dd11eacc0e6d1a6718c2dc877c444863be502482f6fc856f02f0feae8abb36220b60f417ee87ec