forked from pool/perl-DateTime-Format-MySQL
Accepting request 1102953 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1102953 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-MySQL?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c310451e048c8c178f7afc3c0f9035497ac7090fa5d64f835397af6b53cc60dd
|
||||
size 13817
|
3
DateTime-Format-MySQL-0.08.tar.gz
Normal file
3
DateTime-Format-MySQL-0.08.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:19cb70e98584655e354d2d6a8e71cc5ca902dddc3ac44416712f9163d122b9e8
|
||||
size 13951
|
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user