commit db3d15fef2c3453e346ec538a3e0d01dde6880e5 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Jan 24 17:37:15 2012 +0100 0.05 bump .gitignore | 1 + perl-DateTime-Format-DateParse.spec | 43 ++++++++++++++++++----------------- sources | 3 +- 3 files changed, 24 insertions(+), 23 deletions(-) --- diff --git a/.gitignore b/.gitignore index c4fc63f..f3805be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ DateTime-Format-DateParse-0.04.tar.gz DateTime-Format-DateParse-0.04-ANDK-01.patch.gz +/DateTime-Format-DateParse-0.05.tar.gz diff --git a/perl-DateTime-Format-DateParse.spec b/perl-DateTime-Format-DateParse.spec index bd25806..6372446 100644 --- a/perl-DateTime-Format-DateParse.spec +++ b/perl-DateTime-Format-DateParse.spec @@ -1,62 +1,63 @@ Name: perl-DateTime-Format-DateParse -Version: 0.04 -Release: 11%{?dist} +Version: 0.05 +Release: 1%{?dist} Summary: Parse Date::Parse compatible formats License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-DateParse/ -Source0: http://www.cpan.org/authors/id/J/JH/JHOBLITT/DateTime-Format-DateParse-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-DateParse-%{version}.tar.gz BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -# https://rt.cpan.org/Public/Bug/Display.html?id=52598 -Patch0: ftp://cpan.cpantesters.org/CPAN/authors/id/A/AN/ANDK/patches/DateTime-Format-DateParse-0.04-ANDK-01.patch.gz - -BuildRequires: perl(Class::ISA) +BuildRequires: perl(Module::Build) +# Run-time BuildRequires: perl(Date::Parse) >= 2.27 BuildRequires: perl(DateTime) >= 0.29 BuildRequires: perl(DateTime::TimeZone) >= 0.27 -BuildRequires: perl(Module::Build) BuildRequires: perl(Time::Zone) >= 2.22 +# Tests +BuildRequires: perl(lib) +BuildRequires: perl(DateTime::Duration) BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Date::Parse) >= 2.27 +Requires: perl(DateTime) >= 0.29 +Requires: perl(DateTime::TimeZone) >= 0.27 +Requires: perl(Time::Zone) >= 2.22 %{?perl_default_filter} -%{?perl_default_subpackage_tests} + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Date::Parse|DateTime(::TimeZone)?|Time::Zone\\)$ %description This module is a DateTime compatibility wrapper around Date::Parse; it allows -one to easily parse formats Date::Parse recognises for DateTime. +one to easily parse formats Date::Parse recognizes for DateTime. %prep %setup -q -n DateTime-Format-DateParse-%{version} -%patch0 %build %{__perl} Build.PL installdirs=vendor ./Build %install -rm -rf %{buildroot} - ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} %{buildroot}/* %check ./Build test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Jan 24 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.05-1 +- 0.05 bump +- Fractional nanoseconds are now rounded +- Do not package tests + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.04-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 362d133..b9a70e9 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -e1b5dc9fd2ab9d10203f495ed113745f DateTime-Format-DateParse-0.04.tar.gz -72e41a67fda841f094228ea47ea1f281 DateTime-Format-DateParse-0.04-ANDK-01.patch.gz +a9a66f74aeba7c45730430dbf9b37cfd DateTime-Format-DateParse-0.05.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel