|
|
|
@ -1,10 +1,13 @@
|
|
|
|
|
%global rpmversion 0.07.01
|
|
|
|
|
%global cpanversion 0.0701
|
|
|
|
|
|
|
|
|
|
Name: perl-DateTime-Format-MySQL
|
|
|
|
|
Version: 0.06
|
|
|
|
|
Release: 17%{?dist}
|
|
|
|
|
Version: %{rpmversion}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Parse and format MySQL dates and times
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/DateTime-Format-MySQL
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-MySQL-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-MySQL-%{cpanversion}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
@ -29,7 +32,7 @@ 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 DateTime-Format-MySQL-%{version}
|
|
|
|
|
%setup -q -n DateTime-Format-MySQL-%{cpanversion}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
@ -49,6 +52,11 @@ perl Build.PL --installdirs=vendor
|
|
|
|
|
%{_mandir}/man3/DateTime::Format::MySQL.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 25 2021 Paul Howarth <paul@city-fan.org> - 0.07.01-1
|
|
|
|
|
- Update to 0.0701
|
|
|
|
|
- If microseconds are set on provided DateTime object to time_format, use
|
|
|
|
|
them (CPAN RT#136549)
|
|
|
|
|
|
|
|
|
|
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-17
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|