forked from pool/perl-DateTime-Format-MySQL
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
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f40811b5cd2ad7285669c2d9f61233ac9042a0abdbf712673ae1cecd931f2026
|
|
||||||
size 11539
|
|
3
DateTime-Format-MySQL-0.05.tar.gz
Normal file
3
DateTime-Format-MySQL-0.05.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:26d0348a930aa34d3b33ec1b2a9d9629f2ee78234e224ca74d594703922ca2e9
|
||||||
|
size 13462
|
21
cpanspec.yml
Normal file
21
cpanspec.yml
Normal 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
|
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
@@ -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) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,24 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-DateTime-Format-MySQL
|
Name: perl-DateTime-Format-MySQL
|
||||||
Version: 0.04
|
Version: 0.05
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
|
||||||
%define cpan_name DateTime-Format-MySQL
|
%define cpan_name DateTime-Format-MySQL
|
||||||
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/
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-MySQL-0.04.tar.gz
|
Url: http://search.cpan.org/dist/DateTime-Format-MySQL/
|
||||||
# Source: %{cpan_name}-%{version}.tar.bz2
|
Source0: http://www.cpan.org/authors/id/X/XM/XMIKEW/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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.420000
|
||||||
Requires: perl(DateTime)
|
Requires: perl(DateTime)
|
||||||
Requires: perl(DateTime::Format::Builder) >= 0.6
|
Requires: perl(DateTime::Format::Builder) >= 0.6
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
@@ -58,11 +57,8 @@ produce a string representing it in the MySQL format.
|
|||||||
./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)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user