1
0

Compare commits

...

12 Commits

Author SHA256 Message Date
1b527c1d0e 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
2023-08-08 15:26:50 +00:00
ded90ceb42 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
2023-08-08 15:10:50 +00:00
a3121b2121 Accepting request 896692 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/896692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-MySQL?expand=0&rev=12
2021-06-02 20:11:46 +00:00
27da882681 Accepting request 895816 from devel:languages:perl:autoupdate
- updated to 0.0701
   see /usr/share/doc/packages/perl-DateTime-Format-MySQL/Changes
  0.0701  2021-05-22
  - Fix versioning, reindex
  0.07    2021-05-21
  - if microseconds are set on provided DateTime object to time_format,
    use them. Fixes RT #136549

OBS-URL: https://build.opensuse.org/request/show/895816
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-MySQL?expand=0&rev=21
2021-06-01 13:16:21 +00:00
a6b1bbd3de Accepting request 359214 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/359214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-MySQL?expand=0&rev=11
2016-02-17 09:25:18 +00:00
3bcda1ca75 Accepting request 359154 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/359154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-MySQL?expand=0&rev=19
2016-02-13 15:59:48 +00:00
8e7e4465de Accepting request 298088 from devel:languages:perl
- update to 0.05
  + Added parsing of MySQL fractional seconds (microseconds).
  * Allowed additional valid MySQL formats (delimiters in DATE and TIME
    fields using punctuation, 'T' separator between DATE and TIME and
    single-digit time or date values).

OBS-URL: https://build.opensuse.org/request/show/298088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-MySQL?expand=0&rev=10
2015-04-21 23:18:00 +00:00
Stephan Kulow
3587cef5a2 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-MySQL?expand=0&rev=17
2015-04-20 05:38:45 +00:00
Stephan Kulow
70c430b2a5 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-MySQL?expand=0&rev=16
2015-04-20 05:38:15 +00:00
Stephan Kulow
6076f79ab3 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-MySQL?expand=0&rev=15
2015-04-20 05:21:36 +00:00
Stephan Kulow
358a927e43 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-MySQL?expand=0&rev=5
2011-12-06 17:40:06 +00:00
Stephan Kulow
cee4f659b9 Accepting request 92100 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-MySQL?expand=0&rev=4
2011-11-21 11:38:32 +00:00
5 changed files with 85 additions and 25 deletions

View File

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

View File

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

21
cpanspec.yml Normal file
View File

@@ -0,0 +1,21 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
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>
- updated to 0.0701
see /usr/share/doc/packages/perl-DateTime-Format-MySQL/Changes
0.0701 2021-05-22
- Fix versioning, reindex
0.07 2021-05-21
- if microseconds are set on provided DateTime object to time_format,
use them. Fixes RT #136549
-------------------------------------------------------------------
Sat Feb 13 09:55:38 UTC 2016 - coolo@suse.com
- updated to 0.06
see /usr/share/doc/packages/perl-DateTime-Format-MySQL/Changes
0.06 2016-02-12
- Fixed typo in regex that strangely works most of the time
-------------------------------------------------------------------
Sun Dec 21 22:14:59 UTC 2014 - lars@linux-schulserver.de
- update to 0.05
+ Added parsing of MySQL fractional seconds (microseconds).
* Allowed additional valid MySQL formats (delimiters in DATE and TIME
fields using punctuation, 'T' separator between DATE and TIME and
single-digit time or date values).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 18 11:07:17 UTC 2011 - coolo@suse.com Fri Nov 18 11:07:17 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-DateTime-Format-MySQL # spec file for package perl-DateTime-Format-MySQL
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# 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
@@ -12,28 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-DateTime-Format-MySQL
Version: 0.04
Release: 1
License: GPL+ or Artistic
%define cpan_name DateTime-Format-MySQL %define cpan_name DateTime-Format-MySQL
Name: perl-DateTime-Format-MySQL
Version: 0.0800
Release: 0
%define cpan_version 0.08
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse and format MySQL dates and times Summary: Parse and format MySQL dates and times
Url: http://search.cpan.org/dist/DateTime-Format-MySQL/ URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/X/XM/XMIKEW/%{cpan_name}-%{cpan_version}.tar.gz
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-MySQL-0.04.tar.gz Source1: cpanspec.yml
# Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
BuildRequires: perl(DateTime) BuildRequires: perl(DateTime)
BuildRequires: perl(DateTime::Format::Builder) >= 0.6 BuildRequires: perl(DateTime::Format::Builder) >= 0.6
BuildRequires: perl(Module::Build) >= 0.42
Requires: perl(DateTime) Requires: perl(DateTime)
Requires: perl(DateTime::Format::Builder) >= 0.6 Requires: perl(DateTime::Format::Builder) >= 0.6
%{perl_requires} %{perl_requires}
@@ -45,24 +43,21 @@ order to create DateTime objects, and it can take a DateTime object and
produce a string representing it in the MySQL format. produce a string representing it in the MySQL format.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
%{__perl} Build.PL installdirs=vendor perl Build.PL --installdirs=vendor
./Build build flags=%{?_smp_mflags} ./Build build --flags=%{?_smp_mflags}
%check %check
./Build test ./Build test
%install %install
./Build install destdir=%{buildroot} create_packlist=0 ./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(644,root,root,755) %doc Changes README
%doc Changes LICENSE README %license LICENSE
%changelog %changelog