|
|
|
@ -1,14 +1,16 @@
|
|
|
|
|
Name: perl-DateTime-Format-MySQL
|
|
|
|
|
Version: 0.06
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Release: 12%{?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/authors/id/X/XM/XMIKEW/DateTime-Format-MySQL-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-MySQL-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
# Runtime
|
|
|
|
|
BuildRequires: perl(DateTime)
|
|
|
|
@ -17,6 +19,7 @@ BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
# Tests only
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Dependencies
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -34,7 +37,7 @@ perl Build.PL --installdirs=vendor
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
@ -46,6 +49,12 @@ perl Build.PL --installdirs=vendor
|
|
|
|
|
%{_mandir}/man3/DateTime::Format::MySQL.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 15 2019 Paul Howarth <paul@city-fan.org> - 0.06-12
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Specify all build dependencies
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|