17
0

2 Commits

Author SHA256 Message Date
de1265d99c Automatic update to DateTime-Format-Strptime-1.80.tar.gz 2025-12-06 05:33:23 +00:00
49db3627e1 Add Gitea build results 2025-08-12 18:13:17 +02:00
5 changed files with 49 additions and 18 deletions

Binary file not shown.

Binary file not shown.

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-DateTime-Format-Strptime/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-DateTime-Format-Strptime)

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Dec 6 05:33:23 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- 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 <timueller+perl@suse.de> Mon May 3 03:06:56 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-DateTime-Format-Strptime # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,23 +18,26 @@
%define cpan_name DateTime-Format-Strptime %define cpan_name DateTime-Format-Strptime
Name: perl-DateTime-Format-Strptime Name: perl-DateTime-Format-Strptime
Version: 1.79 Version: 1.800.0
Release: 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 License: Artistic-2.0
Summary: Parse and format strp and strf time patterns
URL: https://metacpan.org/release/%{cpan_name} 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 Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(DateTime) >= 1.00 BuildRequires: perl(DateTime) >= 1.0
BuildRequires: perl(DateTime::Locale) >= 1.300000 BuildRequires: perl(DateTime::Locale) >= 1.300
BuildRequires: perl(DateTime::Locale::Base) BuildRequires: perl(DateTime::Locale::Base)
BuildRequires: perl(DateTime::Locale::FromData) BuildRequires: perl(DateTime::Locale::FromData)
BuildRequires: perl(DateTime::TimeZone) >= 2.09 BuildRequires: perl(DateTime::TimeZone) >= 2.90
BuildRequires: perl(Params::ValidationCompiler) BuildRequires: perl(Params::ValidationCompiler)
BuildRequires: perl(Specio) >= 0.33 BuildRequires: perl(Specio) >= 0.330
BuildRequires: perl(Specio::Declare) BuildRequires: perl(Specio::Declare)
BuildRequires: perl(Specio::Exporter) BuildRequires: perl(Specio::Exporter)
BuildRequires: perl(Specio::Library::Builtins) BuildRequires: perl(Specio::Library::Builtins)
@@ -44,19 +47,22 @@ BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Warnings) BuildRequires: perl(Test::Warnings)
BuildRequires: perl(Try::Tiny) BuildRequires: perl(Try::Tiny)
BuildRequires: perl(parent) BuildRequires: perl(parent)
Requires: perl(DateTime) >= 1.00 Requires: perl(DateTime) >= 1.0
Requires: perl(DateTime::Locale) >= 1.300000 Requires: perl(DateTime::Locale) >= 1.300
Requires: perl(DateTime::Locale::Base) Requires: perl(DateTime::Locale::Base)
Requires: perl(DateTime::Locale::FromData) Requires: perl(DateTime::Locale::FromData)
Requires: perl(DateTime::TimeZone) >= 2.09 Requires: perl(DateTime::TimeZone) >= 2.90
Requires: perl(Params::ValidationCompiler) Requires: perl(Params::ValidationCompiler)
Requires: perl(Specio) >= 0.33 Requires: perl(Specio) >= 0.330
Requires: perl(Specio::Declare) Requires: perl(Specio::Declare)
Requires: perl(Specio::Exporter) Requires: perl(Specio::Exporter)
Requires: perl(Specio::Library::Builtins) Requires: perl(Specio::Library::Builtins)
Requires: perl(Specio::Library::String) Requires: perl(Specio::Library::String)
Requires: perl(Try::Tiny) Requires: perl(Try::Tiny)
Requires: perl(parent) Requires: perl(parent)
Provides: perl(DateTime::Format::Strptime) = %{version}
Provides: perl(DateTime::Format::Strptime::Types) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -66,8 +72,9 @@ the reverse of 'strftime(3)', for 'DateTime'. While 'strftime' takes a
and a pattern and returns the 'DateTime' object associated. and a pattern and returns the 'DateTime' object associated.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
@@ -82,7 +89,7 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %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 %license LICENSE
%changelog %changelog