diff --git a/DateTime-Format-MySQL-0.04.tar.gz b/DateTime-Format-MySQL-0.04.tar.gz deleted file mode 100644 index 2d436d4..0000000 --- a/DateTime-Format-MySQL-0.04.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f40811b5cd2ad7285669c2d9f61233ac9042a0abdbf712673ae1cecd931f2026 -size 11539 diff --git a/DateTime-Format-MySQL-0.05.tar.gz b/DateTime-Format-MySQL-0.05.tar.gz new file mode 100644 index 0000000..0124c62 --- /dev/null +++ b/DateTime-Format-MySQL-0.05.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26d0348a930aa34d3b33ec1b2a9d9629f2ee78234e224ca74d594703922ca2e9 +size 13462 diff --git a/perl-DateTime-Format-MySQL.changes b/perl-DateTime-Format-MySQL.changes index 6f69627..725eecb 100644 --- a/perl-DateTime-Format-MySQL.changes +++ b/perl-DateTime-Format-MySQL.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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). +- BuildRequire perl-Module-Build package name as perl itself provides + perl(Module::Build) with lower version number, but the solver seems + to ignore the lower version in that case + ------------------------------------------------------------------- Fri Nov 18 11:07:17 UTC 2011 - coolo@suse.com diff --git a/perl-DateTime-Format-MySQL.spec b/perl-DateTime-Format-MySQL.spec index 4636e49..1ce510c 100644 --- a/perl-DateTime-Format-MySQL.spec +++ b/perl-DateTime-Format-MySQL.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,25 @@ # - Name: perl-DateTime-Format-MySQL -Version: 0.04 -Release: 1 -License: GPL+ or Artistic -%define cpan_name DateTime-Format-MySQL +Version: 0.05 +Release: 0 +%define cpan_name DateTime-Format-MySQL Summary: Parse and format MySQL dates and times -Url: http://search.cpan.org/dist/DateTime-Format-MySQL/ +License: GPL-2.0+ or Artistic-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-MySQL-0.04.tar.gz -# Source: %{cpan_name}-%{version}.tar.bz2 +Url: http://search.cpan.org/dist/DateTime-Format-MySQL/ +Source: %{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Format::Builder) >= 0.6 +BuildRequires: perl(Module::Build) >= 0.42 +# looks like requiring perl(Module::Build) alone is not enough, the resolver +# still uses the old, included version from Perl package instead in that case +BuildRequires: perl-Module-Build >= 0.42 Requires: perl(DateTime) Requires: perl(DateTime::Format::Builder) >= 0.6 %{perl_requires}