- Modernize the spec
epel9
Petr Šabata 9 years ago
parent 89eec6d07a
commit 8680bfafd2

@ -1,26 +1,22 @@
Name: perl-DateTime-Format-MySQL
Version: 0.05
Release: 4%{?dist}
Version: 0.06
Release: 1%{?dist}
Summary: Parse and format MySQL dates and times
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/DateTime-Format-MySQL
Source0: http://search.cpan.org/CPAN/authors/id/X/XM/XMIKEW/DateTime-Format-MySQL-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
# Build
BuildRequires: perl
BuildRequires: perl(Module::Build)
# Module Runtime
# Runtime
BuildRequires: perl(DateTime)
BuildRequires: perl(DateTime::Format::Builder)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Test Suite
# Tests only
BuildRequires: perl(Test::More)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(DateTime::Format::Builder)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This module understands the formats used by MySQL for its DATE, DATETIME,
@ -36,27 +32,23 @@ perl Build.PL --installdirs=vendor
./Build
%install
rm -rf %{buildroot}
./Build install --destdir=%{buildroot} --create_packlist=0
%{_fixperms} %{buildroot}
%check
./Build test
%clean
rm -rf %{buildroot}
%files
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README
%{perl_vendorlib}/DateTime/
%{_mandir}/man3/DateTime::Format::MySQL.3*
%changelog
* Tue Feb 16 2016 Petr Šabata <contyk@redhat.com> - 0.06-1
- 0.06 bump
- Modernize the spec
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

@ -1 +1 @@
22c3be681f96796dc7ffc381b14ccb23 DateTime-Format-MySQL-0.05.tar.gz
60b84516b5f29e0c639cd1a0f12333d2 DateTime-Format-MySQL-0.06.tar.gz

Loading…
Cancel
Save