Hello community,

here is the log from the commit of package perl-DateTime for openSUSE:Factory 
checked in at 2013-06-05 17:51:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DateTime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DateTime"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DateTime/perl-DateTime.changes      
2012-03-09 21:25:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-DateTime.new/perl-DateTime.changes 
2013-06-05 17:51:05.000000000 +0200
@@ -1,0 +2,46 @@
+Tue Jun  4 08:12:54 UTC 2013 - [email protected]
+
+- updated to 1.03
+ - The set_time_zone() method was not returning the object when caalled with a
+   name that matched the current zone. Reported by Noel Maddy. RT #84699.
+ 
+ - When a constructor method like new() or today() was called on an object,
+   you'd get an error message like 'Can't locate object method
+   "_normalize_nanoseconds" via package "2013-04-15T00:00:00"'. This has been
+   fixed to provide a sane error message. Patch by Doug Bell.
+ 
+ - When set_time_zone() is called with a name that matches the current time
+   zone, DateTime now short circuits and avoids a lot of work. Patch by Mark
+   Stosberg.
+ 
+ - Fixed test failures on older Perls.
+ 
+ - Bumped the version to 1.00. This is mostly because my prior use of both X.YY
+   and X.YYYY versions causes trouble for some packaging systems. Plus after 10
+   years it's probably ready to be called 1.00. Requested by Adam. RT #82800. 
+ 
+ - The %j specifier for strftime was not zero-padding 1 and 2 digit
+   numbers. Fixed by Christian Hansen. RT #84310.
+ 
+ - The truncate method was sloppy about validating its "to" parameter, so you
+   could pass things like "years" or "month whatever anything goes". The method
+   would accept the parameter but then not actually truncate the object. RT
+   #84229.
+ 
+ - Previously, if a call to $dt->set_time_zone() failed it would still change
+   the time zone of the object, leaving it in a broken state. Reported by Bill
+   Moseley. RT #83940.
+ 
+ - DateTime::Infinite objects should no longer die when methods that require a
+   locale are called. Instead, these methods return undef for names and
+   Inf/-Inf for numbers. This affects methods such as day_name() as well as
+   CLDR and strftime formats. When a locale-specific format is used (like the
+   "full" datetime format) it uses the en_US format. Reported by Paul
+   Boldra. RT #67550.
+ 
+ - Reverted the change to round nanoseconds up or down in various
+   situtations. Now we always round down. This avoids the case where rounding
+   up would require us to then increment the second value (which could then
+   require us to increment the minute, which could then require us to increment
+
+-------------------------------------------------------------------

Old:
----
  DateTime-0.72.tar.gz

New:
----
  DateTime-1.03.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-DateTime.spec ++++++
--- /var/tmp/diff_new_pack.MYdtDa/_old  2013-06-05 17:51:06.000000000 +0200
+++ /var/tmp/diff_new_pack.MYdtDa/_new  2013-06-05 17:51:06.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-DateTime
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,44 +16,41 @@
 #
 
 
-%bcond_with pod
-
 Name:           perl-DateTime
-Version:        0.72
+Version:        1.03
 Release:        0
 %define cpan_name DateTime
 Summary:        A date and time object
 License:        Artistic-2.0
 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
-Patch:          %{cpan_name}-0.72-Build.patch
+Source:         
http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Module::Build)
-%if %{with pod}
-BuildRequires:  perl(Test::Pod) >= 1.14
-BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
-%endif
-BuildRequires:  perl(Pod::Man) >= 1.14
-BuildRequires:  perl(Test::Exception)
-%if 0%{?suse_version} >= 1130
-BuildRequires:  perl(Test::More) >= 0.88
-%endif
 BuildRequires:  perl(DateTime::Locale) >= 0.41
 BuildRequires:  perl(DateTime::TimeZone) >= 1.09
-BuildRequires:  perl(Math::Round)
+BuildRequires:  perl(Module::Build) >= 0.3601
 BuildRequires:  perl(Params::Validate) >= 0.76
-BuildRequires:  perl(Scalar::Util)
-#
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Try::Tiny)
+#BuildRequires: perl(autodie)
+#BuildRequires: perl(DateTime)
+#BuildRequires: perl(DateTime::Duration)
+#BuildRequires: perl(DateTime::Helpers)
+#BuildRequires: perl(DateTime::Infinite)
+#BuildRequires: perl(DateTime::LeapSecond)
+#BuildRequires: perl(DateTimePP)
+#BuildRequires: perl(DateTimePPExtra)
+#BuildRequires: perl(Dist::Zilla::Plugin::ModuleBuild::XSOrPP)
+#BuildRequires: perl(Moose)
+#BuildRequires: perl(Test::DependentModules)
 Requires:       perl(DateTime::Locale) >= 0.41
 Requires:       perl(DateTime::TimeZone) >= 1.09
-Requires:       perl(Math::Round)
 Requires:       perl(Params::Validate) >= 0.76
-Requires:       perl(Scalar::Util)
-Requires:       perl(Time::Local) >= 1.04
+Requires:       perl(Try::Tiny)
+%{perl_requires}
 
 %description
 DateTime is a class for the representation of date/time combinations, and
@@ -75,30 +72,20 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%if 0%{?suse_version} <= 1120
-%patch
-%endif
-%{__chmod} 0644 tools/leap_seconds_header.pl
 
 %build
 %{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
 ./Build build flags=%{?_smp_mflags}
 
-%if 0%{?suse_version} >= 1130
-
 %check
 ./Build test
-%endif
 
 %install
 ./Build install destdir=%{buildroot} create_packlist=0
 %perl_gen_filelist
 
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
 %files -f %{name}.files
-%defattr(644,root,root,755)
-%doc Changes CREDITS LICENSE README TODO tools
+%defattr(-,root,root,755)
+%doc Changes CREDITS leaptab.txt LICENSE README TODO
 
 %changelog

++++++ DateTime-0.72.tar.gz -> DateTime-1.03.tar.gz ++++++
++++ 2590 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to