diff --git a/DateTime-Format-Strptime-1.78.tar.gz b/DateTime-Format-Strptime-1.78.tar.gz deleted file mode 100644 index d4195c3..0000000 --- a/DateTime-Format-Strptime-1.78.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5143cb8032301b49abef8b989cbfa7592e78db29b7b8c3b874bb0b9489e0d90f -size 116987 diff --git a/DateTime-Format-Strptime-1.79.tar.gz b/DateTime-Format-Strptime-1.79.tar.gz new file mode 100644 index 0000000..ce82738 --- /dev/null +++ b/DateTime-Format-Strptime-1.79.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:701e46802c86ed4d88695c1a6dacbbe90b3390beeb794f387e7c792300037579 +size 119122 diff --git a/perl-DateTime-Format-Strptime.changes b/perl-DateTime-Format-Strptime.changes index 1106e1b..c5ee672 100644 --- a/perl-DateTime-Format-Strptime.changes +++ b/perl-DateTime-Format-Strptime.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon May 3 03:06:56 UTC 2021 - Tina Müller + +- updated to 1.79 + see /usr/share/doc/packages/perl-DateTime-Format-Strptime/Changes + + 1.79 2021-05-02 + + * 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. Reported by + E. Choroba. GH #30. + ------------------------------------------------------------------- Wed Dec 16 03:07:36 UTC 2020 - Tina Müller diff --git a/perl-DateTime-Format-Strptime.spec b/perl-DateTime-Format-Strptime.spec index 2fbfa4c..b324fd7 100644 --- a/perl-DateTime-Format-Strptime.spec +++ b/perl-DateTime-Format-Strptime.spec @@ -1,7 +1,7 @@ # # spec file for package perl-DateTime-Format-Strptime # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,16 @@ # -Name: perl-DateTime-Format-Strptime -Version: 1.78 -Release: 0 %define cpan_name DateTime-Format-Strptime +Name: perl-DateTime-Format-Strptime +Version: 1.79 +Release: 0 Summary: Parse and format strp and strf time patterns License: Artistic-2.0 -Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DateTime) >= 1.00 @@ -68,11 +66,12 @@ the reverse of 'strftime(3)', for 'DateTime'. While 'strftime' takes a and a pattern and returns the 'DateTime' object associated. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -83,8 +82,7 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc azure-pipelines.yml bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md +%doc azure-pipelines.yml bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md %license LICENSE %changelog