commit 4fb8a9e44910707e0a0d0ebea44d441ca3c953ed Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Oct 18 11:58:30 2012 +0200 0.77 bump .gitignore | 1 + .rpmlint | 2 ++ perl-DateTime.spec | 32 ++++++++++++++++++-------------- sources | 2 +- 4 files changed, 22 insertions(+), 15 deletions(-) --- diff --git a/.gitignore b/.gitignore index 965ea31..c4cc360 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ DateTime-TimeZone-1.10.tar.gz /DateTime-TimeZone-1.34.tar.gz /DateTime-0.70.tar.gz /DateTime-TimeZone-1.35.tar.gz +/DateTime-0.77.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..6486422 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* proleptic"); diff --git a/perl-DateTime.spec b/perl-DateTime.spec index 87c8dc5..aad75b0 100644 --- a/perl-DateTime.spec +++ b/perl-DateTime.spec @@ -1,36 +1,39 @@ Name: perl-DateTime Epoch: 2 -Version: 0.70 -Release: 2%{?dist} +Version: 0.77 +Release: 1%{?dist} Summary: Date and time object License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz -# circular dependency - only used for one test -#BuildRequires: perl(DateTime::Format::Strptime) >= 1.2000 +BuildRequires: perl(Module::Build) +# Run-time: BuildRequires: perl(base) +BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(DateTime::Locale) >= 0.41 BuildRequires: perl(DateTime::TimeZone) >= 1.09 BuildRequires: perl(Math::Round) -BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) >= 0.76 BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Test::Exception) -BuildRequires: perl(Test::More) >= 0.88 -BuildRequires: perl(Time::Local) >= 1.04 BuildRequires: perl(XSLoader) -Requires: perl(DateTime::Locale) >= 0.41 -Requires: perl(DateTime::TimeZone) >= 1.09 -Requires: perl(XSLoader) +# Tests: +BuildRequires: perl(Test::More) >= 0.88 +# Optional tests: +# circular dependency - perl(DateTime::Format::Strptime) >= 1.2000 +BuildRequires: perl(Storable) +BuildRequires: perl(Test::Fatal) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(XSLoader) # not automatically detected Provides: perl(DateTimePP) = %{version} Provides: perl(DateTimePPExtra) = %{version} %{?perl_default_filter} +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DateTime::TimeZone|Params::Validate)\\)$ %description DateTime is a class for the representation of date/time combinations. It @@ -50,12 +53,10 @@ believed to be the birth of Jesus Christ. %install ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} %{buildroot}/* %check -RELEASE_TESTING=1 ./Build test +./Build test %files %doc Changes CREDITS LICENSE README TODO @@ -64,6 +65,9 @@ RELEASE_TESTING=1 ./Build test %{_mandir}/man3/* %changelog +* Thu Oct 18 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 2:0.77-1 +- 0.77 bump + * Thu Aug 18 2011 Iain Arnell <iarnell@xxxxxxxxx> 2:0.70-2 - Additional (Build)Requires from unofficial review diff --git a/sources b/sources index 823b718..aaf7b0a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -228a3ca93b49e308fc7a3b7a47341ab3 DateTime-0.70.tar.gz +1c35bb64f0a261cd3ab4cc161726290a DateTime-0.77.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