From ded90ceb425afc70e4aad1466cd39f4cf65215274b0ea6ee24c8cba86b33c1aa Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 8 Aug 2023 15:10:50 +0000 Subject: [PATCH] Accepting request 1102923 from devel:languages:perl:autoupdate - updated to 0.08 see /usr/share/doc/packages/perl-DateTime-Format-MySQL/Changes 0.08 2023-07-31 - Fix parsing microsecond < 100,000 off DateTime object by zero-padding OBS-URL: https://build.opensuse.org/request/show/1102923 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-MySQL?expand=0&rev=23 --- DateTime-Format-MySQL-0.0701.tar.gz | 3 --- DateTime-Format-MySQL-0.08.tar.gz | 3 +++ perl-DateTime-Format-MySQL.changes | 10 ++++++++++ perl-DateTime-Format-MySQL.spec | 19 ++++++++++--------- 4 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 DateTime-Format-MySQL-0.0701.tar.gz create mode 100644 DateTime-Format-MySQL-0.08.tar.gz diff --git a/DateTime-Format-MySQL-0.0701.tar.gz b/DateTime-Format-MySQL-0.0701.tar.gz deleted file mode 100644 index 83f828a..0000000 --- a/DateTime-Format-MySQL-0.0701.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c310451e048c8c178f7afc3c0f9035497ac7090fa5d64f835397af6b53cc60dd -size 13817 diff --git a/DateTime-Format-MySQL-0.08.tar.gz b/DateTime-Format-MySQL-0.08.tar.gz new file mode 100644 index 0000000..79bdebf --- /dev/null +++ b/DateTime-Format-MySQL-0.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19cb70e98584655e354d2d6a8e71cc5ca902dddc3ac44416712f9163d122b9e8 +size 13951 diff --git a/perl-DateTime-Format-MySQL.changes b/perl-DateTime-Format-MySQL.changes index 5b3509a..cd9a457 100644 --- a/perl-DateTime-Format-MySQL.changes +++ b/perl-DateTime-Format-MySQL.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Aug 2 03:07:47 UTC 2023 - Tina Müller + +- updated to 0.08 + see /usr/share/doc/packages/perl-DateTime-Format-MySQL/Changes + + 0.08 2023-07-31 + + - Fix parsing microsecond < 100,000 off DateTime object by zero-padding + ------------------------------------------------------------------- Sun May 23 03:06:53 UTC 2021 - Tina Müller diff --git a/perl-DateTime-Format-MySQL.spec b/perl-DateTime-Format-MySQL.spec index d88a510..1d183bb 100644 --- a/perl-DateTime-Format-MySQL.spec +++ b/perl-DateTime-Format-MySQL.spec @@ -1,7 +1,7 @@ # # spec file for package perl-DateTime-Format-MySQL # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,20 @@ %define cpan_name DateTime-Format-MySQL Name: perl-DateTime-Format-MySQL -Version: 0.0701 +Version: 0.0800 Release: 0 -Summary: Parse and format MySQL dates and times +%define cpan_version 0.08 License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Parse and format MySQL dates and times URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/X/XM/XMIKEW/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/X/XM/XMIKEW/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Format::Builder) >= 0.6 -BuildRequires: perl(Module::Build) >= 0.420000 +BuildRequires: perl(Module::Build) >= 0.42 Requires: perl(DateTime) Requires: perl(DateTime::Format::Builder) >= 0.6 %{perl_requires} @@ -42,17 +43,17 @@ order to create DateTime objects, and it can take a DateTime object and produce a string representing it in the MySQL format. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build -perl Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files