1
0
forked from pool/perl-TimeDate

- remove TimeDate-deprecated_array_use.patch and TimeDate-podfile-patch

and regenerat with cpanspec

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-TimeDate?expand=0&rev=25
This commit is contained in:
Stephan Kulow 2017-10-08 09:51:11 +00:00 committed by Git OBS Bridge
parent cdea2df380
commit c4c9a1329a
4 changed files with 4 additions and 24 deletions

View File

@ -1,12 +0,0 @@
diff -ruN TimeDate-1.20-orig/lib/Date/Format.pm TimeDate-1.20/lib/Date/Format.pm
--- TimeDate-1.20-orig/lib/Date/Format.pm 2009-12-12 12:30:06.000000000 +0000
+++ TimeDate-1.20/lib/Date/Format.pm 2010-04-20 21:15:56.049364922 +0000
@@ -83,7 +83,7 @@
$tzname = sprintf("%+05d",$tzname)
unless($tzname =~ /\D/);
- $epoch = timegm(@{$time}[0..5]);
+ $epoch = timegm( @$time[0], @$time[1], @$time[2], @$time[3], @$time[4], @$time[5] );
@$me = gmtime($epoch + tz_offset($tzname) - tz_offset());
}

View File

@ -1,11 +0,0 @@
--- lib/Date/Parse.pm.orig 2009-09-19 09:04:02.000000000 -0700
+++ lib/Date/Parse.pm 2009-09-25 14:35:09.000000000 -0700
@@ -322,6 +322,8 @@
the timezone offset in seconds from GMT. An empty array is returned upon
failure.
+=back
+
=head1 MULTI-LANGUAGE SUPPORT
Date::Parse is capable of parsing dates in several languages, these include

View File

@ -7,6 +7,9 @@ Sat May 2 09:53:14 UTC 2015 - coolo@suse.com
2.30 -- Mon Feb 18 13:31:03 CST 2013
* Syncing distribution version number with Date::Parse, not functional changes
- remove TimeDate-deprecated_array_use.patch and TimeDate-podfile-patch
and regenerat with cpanspec
-------------------------------------------------------------------
Tue Aug 30 18:19:41 UTC 2011 - andrea.turrini@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-TimeDate
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed