8
0

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
This commit is contained in:
2023-08-08 15:10:50 +00:00
committed by Git OBS Bridge
parent 27da882681
commit ded90ceb42
4 changed files with 23 additions and 12 deletions

View File

@@ -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