8
0
2023-08-08 15:26:50 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c310451e048c8c178f7afc3c0f9035497ac7090fa5d64f835397af6b53cc60dd
size 13817

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19cb70e98584655e354d2d6a8e71cc5ca902dddc3ac44416712f9163d122b9e8
size 13951

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Aug 2 03:07:47 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- 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 <timueller+perl@suse.de>

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