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

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