From 9b9677411e2b28537f64157b11a86460d9dfd891 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 15 Oct 2019 21:44:22 +0100 Subject: [PATCH] Spec tidy-up - Use author-independent source URL - Specify all build dependencies - Fix permissions verbosely --- perl-DateTime-Format-MySQL.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/perl-DateTime-Format-MySQL.spec b/perl-DateTime-Format-MySQL.spec index 452a708..a9931d3 100644 --- a/perl-DateTime-Format-MySQL.spec +++ b/perl-DateTime-Format-MySQL.spec @@ -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 - 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 - 0.06-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild