Hello community,

here is the log from the commit of package perl-Time-Clock for openSUSE:Factory 
checked in at 2014-03-12 19:08:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Time-Clock (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Time-Clock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Time-Clock"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Time-Clock/perl-Time-Clock.changes  
2011-11-21 12:49:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Time-Clock.new/perl-Time-Clock.changes     
2014-03-12 19:08:54.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Mar 10 07:13:07 UTC 2014 - [email protected]
+
+- updated to 1.03
+ * Documented the return value of parse().
+
+-------------------------------------------------------------------

Old:
----
  Time-Clock-1.02.tar.gz

New:
----
  Time-Clock-1.03.tar.gz

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

Other differences:
------------------
++++++ perl-Time-Clock.spec ++++++
--- /var/tmp/diff_new_pack.LTwqNE/_old  2014-03-12 19:08:55.000000000 +0100
+++ /var/tmp/diff_new_pack.LTwqNE/_new  2014-03-12 19:08:55.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Time-Clock
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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,21 +16,19 @@
 #
 
 
-
 Name:           perl-Time-Clock
-Version:        1.02
-Release:        1
-License:        GPL-1.0+ or Artistic-1.0
+Version:        1.03
+Release:        0
 %define cpan_name Time-Clock
 Summary:        Twenty-four hour clock object with nanosecond precision.
-Url:            http://search.cpan.org/dist/Time-Clock/
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
-Source:         
http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Time-Clock-1.02.tar.gz
-# Source:         %{cpan_name}-%{version}.tar.bz2
+Url:            http://search.cpan.org/dist/Time-Clock/
+Source:         
http://www.cpan.org/authors/id/J/JS/JSIRACUSA/%{cpan_name}-%{version}.tar.gz
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
 %{perl_requires}
 
 %description
@@ -48,6 +46,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -61,11 +60,8 @@
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
-%defattr(644,root,root,755)
+%defattr(-,root,root,755)
 %doc Changes
 
 %changelog

++++++ Time-Clock-1.02.tar.gz -> Time-Clock-1.03.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Time-Clock-1.02/Changes new/Time-Clock-1.03/Changes
--- old/Time-Clock-1.02/Changes 2010-06-15 15:17:52.000000000 +0200
+++ new/Time-Clock-1.03/Changes 2014-02-14 18:16:30.000000000 +0100
@@ -1,3 +1,7 @@
+1.03 (02.14.2014) - John Siracusa <[email protected]>
+
+    * Documented the return value of parse().
+
 1.02 (06.15.2010) - John Siracusa <[email protected]>
 
     * Fixed test failures on systems without Time::HiRes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Time-Clock-1.02/MANIFEST new/Time-Clock-1.03/MANIFEST
--- old/Time-Clock-1.02/MANIFEST        2010-06-15 15:18:04.000000000 +0200
+++ new/Time-Clock-1.03/MANIFEST        2014-02-14 18:20:32.000000000 +0100
@@ -7,4 +7,5 @@
 t/math.t
 t/parse.t
 t/pod.t
-META.yml                                 Module meta-data (added by MakeMaker)
+META.yml                                 Module YAML meta-data (added by 
MakeMaker)
+META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Time-Clock-1.02/META.json 
new/Time-Clock-1.03/META.json
--- old/Time-Clock-1.02/META.json       1970-01-01 01:00:00.000000000 +0100
+++ new/Time-Clock-1.03/META.json       2014-02-14 18:20:31.000000000 +0100
@@ -0,0 +1,52 @@
+{
+   "abstract" : "Twenty-four hour clock object with nanosecond precision.",
+   "author" : [
+      "John Siracusa <[email protected]>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter 
version 2.133380",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "Time-Clock",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "perl" : "5.006000"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "bugtracker" : {
+         "web" : "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Time-Clock";
+      },
+      "license" : [
+         "http://dev.perl.org/licenses/";
+      ],
+      "repository" : {
+         "url" : "http://rose.googlecode.com/svn/trunk/modules/Time-Clock";
+      }
+   },
+   "version" : "1.03"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Time-Clock-1.02/META.yml new/Time-Clock-1.03/META.yml
--- old/Time-Clock-1.02/META.yml        2010-06-15 15:18:04.000000000 +0200
+++ new/Time-Clock-1.03/META.yml        2014-02-14 18:20:31.000000000 +0100
@@ -1,26 +1,26 @@
---- #YAML:1.0
-name:               Time-Clock
-version:            1.02
-abstract:           Twenty-four hour clock object with nanosecond precision.
+---
+abstract: 'Twenty-four hour clock object with nanosecond precision.'
 author:
-    - John Siracusa <[email protected]>
-license:            perl
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+  - 'John Siracusa <[email protected]>'
 build_requires:
-    ExtUtils::MakeMaker:  0
+  ExtUtils::MakeMaker: 0
+configure_requires:
+  ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version 
2.133380'
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Time-Clock
+no_index:
+  directory:
+    - t
+    - inc
 requires:
-    perl:  5.006000
+  perl: 5.006000
 resources:
-    bugtracker:  http://rt.cpan.org/NoAuth/Bugs.html?Dist=Time-Clock
-    license:     http://dev.perl.org/licenses/
-    repository:  http://rose.googlecode.com/svn/trunk/modules/Time-Clock
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.56
-meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+  bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Time-Clock
+  license: http://dev.perl.org/licenses/
+  repository: http://rose.googlecode.com/svn/trunk/modules/Time-Clock
+version: 1.03
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Time-Clock-1.02/lib/Time/Clock.pm 
new/Time-Clock-1.03/lib/Time/Clock.pm
--- old/Time-Clock-1.02/lib/Time/Clock.pm       2010-06-15 15:17:19.000000000 
+0200
+++ new/Time-Clock-1.03/lib/Time/Clock.pm       2014-02-14 18:15:58.000000000 
+0100
@@ -4,7 +4,7 @@
 
 use Carp;
 
-our $VERSION = '1.02';
+our $VERSION = '1.03';
 
 use overload
 (
@@ -711,7 +711,9 @@
 
 =item B<parse STRING>
 
-Set the clock time by parsing STRING.  Valid string values contain an hour 
with optional minutes, seconds, fractional seconds, and AM/PM string.  There 
should be a colon (":") between hours, minutes, and seconds, and a decimal 
point (".") between the seconds and fractional seconds.  Fractional seconds may 
contain up to 9 digits.  The AM/PM string is case-insensitive and may have 
periods after each letter.
+Set the clock time by parsing STRING.  The invoking object is returned.
+
+Valid string values contain an hour with optional minutes, seconds, fractional 
seconds, and AM/PM string.  There should be a colon (":") between hours, 
minutes, and seconds, and a decimal point (".") between the seconds and 
fractional seconds.  Fractional seconds may contain up to 9 digits.  The AM/PM 
string is case-insensitive and may have periods after each letter.
 
 The string "now" will initialize the clock object with the current (local) 
time.  If the L<Time::HiRes> module is installed, this time will have 
fractional seconds.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Time-Clock-1.02/t/parse.t 
new/Time-Clock-1.03/t/parse.t
--- old/Time-Clock-1.02/t/parse.t       2010-06-15 15:17:14.000000000 +0200
+++ new/Time-Clock-1.03/t/parse.t       2014-02-14 18:19:49.000000000 +0100
@@ -2,7 +2,7 @@
 
 use strict;
 
-use Test::More tests => 32;
+use Test::More tests => 33;
 
 use Time::Clock;
 
@@ -73,3 +73,7 @@
   ok($t->as_string =~ /^\d\d:\d\d:\d\d$/, 'now hires (skipped) 2');
   SKIP: { skip('parse now lowres', 2) }
 }
+
+$t = Time::Clock->new->parse('12:34:56.123456789');
+
+is($t->format('%H %k %I %i %M %S %N %n %p %P %T'), '12 12 12 12 34 56 
123456789 .123456789 PM pm 12:34:56', 'new->parse');

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

Reply via email to