8
0

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
This commit is contained in:
2021-06-01 13:16:21 +00:00
committed by Git OBS Bridge
parent 3bcda1ca75
commit 27da882681
4 changed files with 30 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime-Format-MySQL
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,20 @@
# 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.06
Release: 0
%define cpan_name DateTime-Format-MySQL
Name: perl-DateTime-Format-MySQL
Version: 0.0701
Release: 0
Summary: Parse and format MySQL dates and times
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DateTime-Format-MySQL/
Source0: http://www.cpan.org/authors/id/X/XM/XMIKEW/%{cpan_name}-%{version}.tar.gz
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/X/XM/XMIKEW/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DateTime)
@@ -44,10 +42,10 @@ 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}-%{version}
%build
%{__perl} Build.PL installdirs=vendor
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
@@ -58,7 +56,7 @@ produce a string representing it in the MySQL format.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%changelog