From de1265d99c5423374bce3adf594b94656dedcd276a22c1b8ba73a6959f704ac9 Mon Sep 17 00:00:00 2001 From: cpanmirror Date: Sat, 6 Dec 2025 05:33:23 +0000 Subject: [PATCH] Automatic update to DateTime-Format-Strptime-1.80.tar.gz --- DateTime-Format-Strptime-1.79.tar.gz | 3 --- DateTime-Format-Strptime-1.80.tar.gz | 3 +++ perl-DateTime-Format-Strptime.changes | 12 +++++++++ perl-DateTime-Format-Strptime.spec | 36 ++++++++++++++++----------- 4 files changed, 36 insertions(+), 18 deletions(-) delete mode 100644 DateTime-Format-Strptime-1.79.tar.gz create mode 100644 DateTime-Format-Strptime-1.80.tar.gz diff --git a/DateTime-Format-Strptime-1.79.tar.gz b/DateTime-Format-Strptime-1.79.tar.gz deleted file mode 100644 index ce82738..0000000 --- a/DateTime-Format-Strptime-1.79.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:701e46802c86ed4d88695c1a6dacbbe90b3390beeb794f387e7c792300037579 -size 119122 diff --git a/DateTime-Format-Strptime-1.80.tar.gz b/DateTime-Format-Strptime-1.80.tar.gz new file mode 100644 index 0000000..8daf183 --- /dev/null +++ b/DateTime-Format-Strptime-1.80.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efe5e2be70425efc123a4e57f4b96b2d23beb03200c8326495b5b433b6b77158 +size 117622 diff --git a/perl-DateTime-Format-Strptime.changes b/perl-DateTime-Format-Strptime.changes index c5ee672..c498bd9 100644 --- a/perl-DateTime-Format-Strptime.changes +++ b/perl-DateTime-Format-Strptime.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Dec 6 05:33:23 UTC 2025 - Tina Müller + +- updated to 1.800.0 (1.80) + see /usr/share/doc/packages/perl-DateTime-Format-Strptime/Changes + + 1.80 2025-12-06 + + * Fix the parse_datetime docs to state that it returns either an empty list of undef when it cannot + parse the given string, depending on the context. Previously, the docs said it always returned + undef, which is not true. Reported by @falsifian (James Cook). GH #33. + ------------------------------------------------------------------- Mon May 3 03:06:56 UTC 2021 - Tina Müller diff --git a/perl-DateTime-Format-Strptime.spec b/perl-DateTime-Format-Strptime.spec index 8aa48f6..e19aeae 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) 2021 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,24 +18,26 @@ %define cpan_name DateTime-Format-Strptime Name: perl-DateTime-Format-Strptime -Version: 1.79 +Version: 1.800.0 Release: 0 -Summary: Parse and format strp and strf time patterns +# 1.80 -> normalize -> 1.800.0 +%define cpan_version 1.80 License: Artistic-2.0 +Summary: Parse and format strp and strf time patterns URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(DateTime) >= 1.00 -BuildRequires: perl(DateTime::Locale) >= 1.300000 +BuildRequires: perl(DateTime) >= 1.0 +BuildRequires: perl(DateTime::Locale) >= 1.300 BuildRequires: perl(DateTime::Locale::Base) BuildRequires: perl(DateTime::Locale::FromData) -BuildRequires: perl(DateTime::TimeZone) >= 2.09 +BuildRequires: perl(DateTime::TimeZone) >= 2.90 BuildRequires: perl(Params::ValidationCompiler) -BuildRequires: perl(Specio) >= 0.33 +BuildRequires: perl(Specio) >= 0.330 BuildRequires: perl(Specio::Declare) BuildRequires: perl(Specio::Exporter) BuildRequires: perl(Specio::Library::Builtins) @@ -45,19 +47,22 @@ BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Warnings) BuildRequires: perl(Try::Tiny) BuildRequires: perl(parent) -Requires: perl(DateTime) >= 1.00 -Requires: perl(DateTime::Locale) >= 1.300000 +Requires: perl(DateTime) >= 1.0 +Requires: perl(DateTime::Locale) >= 1.300 Requires: perl(DateTime::Locale::Base) Requires: perl(DateTime::Locale::FromData) -Requires: perl(DateTime::TimeZone) >= 2.09 +Requires: perl(DateTime::TimeZone) >= 2.90 Requires: perl(Params::ValidationCompiler) -Requires: perl(Specio) >= 0.33 +Requires: perl(Specio) >= 0.330 Requires: perl(Specio::Declare) Requires: perl(Specio::Exporter) Requires: perl(Specio::Library::Builtins) Requires: perl(Specio::Library::String) Requires: perl(Try::Tiny) Requires: perl(parent) +Provides: perl(DateTime::Format::Strptime) = %{version} +Provides: perl(DateTime::Format::Strptime::Types) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -67,8 +72,9 @@ the reverse of 'strftime(3)', for 'DateTime'. While 'strftime' takes a and a pattern and returns the 'DateTime' object associated. %prep -%autosetup -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor @@ -83,7 +89,7 @@ make test %perl_gen_filelist %files -f %{name}.files -%doc azure-pipelines.yml bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md +%doc bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %license LICENSE %changelog -- 2.51.1