Hello community, here is the log from the commit of package perl-DateTime for openSUSE:Factory checked in at Thu May 12 10:45:27 CEST 2011.
-------- --- perl-DateTime/perl-DateTime.changes 2011-03-31 11:17:49.000000000 +0200 +++ /mounts/work_src_done/STABLE/perl-DateTime/perl-DateTime.changes 2011-05-09 23:59:37.000000000 +0200 @@ -1,0 +2,34 @@ +Mon May 09 21:56:19 UTC 2011 - pascal.ble...@opensuse.org + +- update to 0.70: + * really fix %N, finally + +------------------------------------------------------------------- +Wed May 04 20:13:05 UTC 2011 - pascal.ble...@opensuse.org + +- update to 0.69: + * when a DateTime object had nanoseconds == 0, the %N strftime specifier + always returned "0" regardless of the precision requested + +------------------------------------------------------------------- +Mon Apr 25 20:25:12 UTC 2011 - pascal.ble...@opensuse.org + +- update to 0.68: + * the tests for %N in the last release relied on the vagaries of floating + point math on a 64-bit system; now the from_epoch() method just uses string + operations to separate the epoch into an integer value and a mantissa; this + avoids floating point insanity (RT#67736) + +- changes from 0.67: + * the %N strftime specifier simply truncated nanoseconds, rather than + rounding them (RT#66744) + * the %U strftime specifier was off by one in years where January 1st was a + Sunday (RT#67631) + * the %W strftime specifier was off by one in years where January 1st was a + Sunday or Monday (RT#67631) + * some small optimizations; the biggest impact is for calculating + week_of_month, week_number, and week_year + * now requires Perl 5.8.1+ (it implicitly did this anyway now that + Params::Validate is 5.8.1+) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- DateTime-0.66-Build.patch DateTime-0.66.tar.bz2 New: ---- DateTime-0.70-Build.patch DateTime-0.70.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-DateTime.spec ++++++ --- /var/tmp/diff_new_pack.hYoVLZ/_old 2011-05-12 10:20:01.000000000 +0200 +++ /var/tmp/diff_new_pack.hYoVLZ/_new 2011-05-12 10:20:01.000000000 +0200 @@ -19,16 +19,16 @@ %bcond_with pod Name: perl-DateTime -Version: 0.66 -Release: 2 +Version: 0.70 +Release: 1 License: Artistic 2.0 %define cpan_name DateTime Summary: A date and time object Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DateTime/ -#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz +# http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 -Patch: %{cpan_name}-0.66-Build.patch +Patch: %{cpan_name}-0.70-Build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl @@ -47,13 +47,14 @@ BuildRequires: perl(DateTime::TimeZone) >= 1.09 BuildRequires: perl(Params::Validate) >= 0.76 BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Test::Exception) +BuildRequires: perl(Math::Round) # Requires: perl(DateTime::Locale) >= 0.41 Requires: perl(DateTime::TimeZone) >= 1.09 Requires: perl(Params::Validate) >= 0.76 Requires: perl(Scalar::Util) Requires: perl(Time::Local) >= 1.04 +Requires: perl(Math::Round) %description DateTime is a class for the representation of date/time combinations, and @@ -76,7 +77,7 @@ %prep %setup -q -n %{cpan_name}-%{version} %if 0%{?suse_version} <= 1120 -%patch -p1 +%patch %endif %{__chmod} 0644 tools/leap_seconds_header.pl @@ -95,7 +96,7 @@ %perl_gen_filelist %clean -%{__rm} -rf %{buildroot} +%{?buildroot:%__rm -rf "%{buildroot}"} %files -f %{name}.files %defattr(644,root,root,755) ++++++ DateTime-0.66-Build.patch -> DateTime-0.70-Build.patch ++++++ --- perl-DateTime/DateTime-0.66-Build.patch 2011-02-20 00:51:44.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-DateTime/DateTime-0.70-Build.patch 2011-05-10 00:10:53.000000000 +0200 @@ -1,7 +1,39 @@ -diff -ruN DateTime-0.66-orig/Build.PL DateTime-0.66/Build.PL ---- DateTime-0.66-orig/Build.PL 2010-11-26 19:47:41.000000000 +0100 -+++ DateTime-0.66/Build.PL 2011-02-20 00:40:30.000000000 +0100 -@@ -2,13 +2,13 @@ +--- META.yml.orig 2011-05-10 00:08:41.000000000 +0200 ++++ META.yml 2011-05-10 00:09:11.000000000 +0200 +@@ -3,11 +3,11 @@ + author: + - 'Dave Rolsky <auta...@urth.org>' + build_requires: +- Module::Build: 0.3601 ++ Module::Build: 0.280801 + Test::Exception: 0 + Test::More: 0.88 + configure_requires: +- Module::Build: 0.3601 ++ Module::Build: 0.280801 + dynamic_config: 0 + generated_by: 'Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930' + license: artistic_2 +--- META.json.orig 2011-05-10 00:08:11.000000000 +0200 ++++ META.json 2011-05-10 00:08:35.000000000 +0200 +@@ -16,12 +16,12 @@ + "prereqs" : { + "build" : { + "requires" : { +- "Module::Build" : "0.3601" ++ "Module::Build" : "0.280801" + } + }, + "configure" : { + "requires" : { +- "Module::Build" : "0.3601" ++ "Module::Build" : "0.280801" + } + }, + "runtime" : { +--- Build.PL.orig 2011-05-10 00:07:29.000000000 +0200 ++++ Build.PL 2011-05-10 00:08:08.000000000 +0200 +@@ -2,18 +2,18 @@ use strict; use warnings; @@ -11,33 +43,15 @@ my %module_build_args = ( 'build_requires' => { - 'ExtUtils::CBuilder' => '0', - 'Module::Build' => '0.3601', + 'Module::Build' => '0.280801', - 'Pod::Man' => '1.14', 'Test::Exception' => '0', 'Test::More' => '0.88' -diff -ruN DateTime-0.66-orig/META.json DateTime-0.66/META.json ---- DateTime-0.66-orig/META.json 2010-11-26 19:47:41.000000000 +0100 -+++ DateTime-0.66/META.json 2011-02-20 00:40:12.000000000 +0100 -@@ -17,7 +17,7 @@ - "build" : { - "requires" : { - "ExtUtils::CBuilder" : 0, -- "Module::Build" : "0.3601", -+ "Module::Build" : "0.280801", - "Pod::Man" : "1.14", - "Test::Exception" : 0, - "Test::More" : "0.88" -diff -ruN DateTime-0.66-orig/META.yml DateTime-0.66/META.yml ---- DateTime-0.66-orig/META.yml 2010-11-26 19:47:41.000000000 +0100 -+++ DateTime-0.66/META.yml 2011-02-20 00:41:10.000000000 +0100 -@@ -4,7 +4,7 @@ - - 'Dave Rolsky <auta...@urth.org>' - build_requires: - ExtUtils::CBuilder: 0 -- Module::Build: 0.3601 -+ Module::Build: 0.280801 - Pod::Man: 1.14 - Test::Exception: 0 - Test::More: 0.88 + }, + 'c_source' => 'c', + 'configure_requires' => { +- 'Module::Build' => '0.3601' ++ 'Module::Build' => '0.280801' + }, + 'dist_abstract' => 'A date and time object', + 'dist_author' => [ ++++++ DateTime-0.66.tar.bz2 -> DateTime-0.70.tar.bz2 ++++++ ++++ 1889 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org