diff --git a/.gitignore b/.gitignore index fb1377e..46842b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Date-ISO8601-0.004.tar.gz +/Date-ISO8601-0.005.tar.gz diff --git a/perl-Date-ISO8601.spec b/perl-Date-ISO8601.spec index 32e5980..4f8fcc4 100644 --- a/perl-Date-ISO8601.spec +++ b/perl-Date-ISO8601.spec @@ -1,28 +1,32 @@ Name: perl-Date-ISO8601 -Version: 0.004 -Release: 17%{?dist} +Version: 0.005 +Release: 1%{?dist} Summary: Three ISO 8601 numerical calendars License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Date-ISO8601/ Source0: http://www.cpan.org/modules/by-module/Date/Date-ISO8601-%{version}.tar.gz BuildArch: noarch +# Module Build +BuildRequires: coreutils BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build) +# Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(integer) -BuildRequires: perl(Module::Build) BuildRequires: perl(parent) BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) +# Optional Tests +BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(warnings) +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Exporter) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} %description The international standard ISO 8601 "Data elements and interchange formats @@ -41,24 +45,33 @@ relating to those parts of the standard; this is only about labeling days. %setup -q -n Date-ISO8601-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL --installdirs=vendor ./Build %install -./Build install destdir=%{buildroot} create_packlist=0 -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} %{buildroot}/* +./Build install --destdir=%{buildroot} --create_packlist=0 +%{_fixperms} -c %{buildroot} %check ./Build test %files %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/Date/ +%{_mandir}/man3/Date::ISO8601.3* %changelog +* Fri Jul 28 2017 Paul Howarth - 0.005-1 +- Update to 0.005 + - No longer include a Makefile.PL in the distribution + - In documentation, use four-column indentation for all verbatim material + - In META.{yml,json}, point to public bug tracker + - Convert .cvsignore to .gitignore +- Classify buildreqs by usage +- Don't need to remote empty directories from the buildroot +- Make %%files list more explicit +- Drop legacy Group: tag + * Thu Jul 27 2017 Fedora Release Engineering - 0.004-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index bd00b70..90bf2b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8efa8355310f95605f8f7f399ecb5e0 Date-ISO8601-0.004.tar.gz +SHA512 (Date-ISO8601-0.005.tar.gz) = 3644542fbe728f8df10ac4f9623b3c2186c36b6dd6d1718121e360a8ba9504fbd1bd8b31064ac02c524528726eaff0fc72cd1b7cbc04ebe0cdfc753a99895ad5