forked from pool/perl-DateTime-Format-MySQL
Compare commits
12 Commits
654af9a615
...
factory
Author | SHA256 | Date | |
---|---|---|---|
1b527c1d0e | |||
ded90ceb42 | |||
a3121b2121 | |||
27da882681 | |||
a6b1bbd3de | |||
3bcda1ca75 | |||
8e7e4465de | |||
|
3587cef5a2 | ||
|
70c430b2a5 | ||
|
6076f79ab3 | ||
|
358a927e43 | ||
|
cee4f659b9 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f40811b5cd2ad7285669c2d9f61233ac9042a0abdbf712673ae1cecd931f2026
|
||||
size 11539
|
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
|
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,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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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
|
||||
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
|
||||
Url: http://search.cpan.org/dist/DateTime-Format-MySQL/
|
||||
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: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/X/XM/XMIKEW/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
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
|
||||
Requires: perl(DateTime)
|
||||
Requires: perl(DateTime::Format::Builder) >= 0.6
|
||||
%{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.
|
||||
|
||||
%prep
|
||||
%setup -q -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
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user