Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Time-Local for openSUSE:Factory
checked in at 2023-05-04 17:10:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Time-Local (Old)
and /work/SRC/openSUSE:Factory/.perl-Time-Local.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Time-Local"
Thu May 4 17:10:37 2023 rev:3 rq:1084440 version:1.35
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Time-Local/perl-Time-Local.changes
2020-01-28 10:54:58.481017134 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Time-Local.new.1533/perl-Time-Local.changes
2023-05-04 17:10:57.736501170 +0200
@@ -1,0 +2,36 @@
+Sun Apr 30 03:10:47 UTC 2023 - Tina Müller <[email protected]>
+
+- updated to 1.35
+ see /usr/share/doc/packages/perl-Time-Local/Changes
+
+ 1.35 2023-04-29
+ - This is the same as 1.34.
+ - The code now explicitly handles non-integer seconds values. This fixes the
+ confusing things that timelocal() does with non-integer seconds but does
not
+ turn the seconds value into an integer. Based on a bug report from Dmitriy
+ Shamatrin. GH #18.
+ 1.34 2023-03-25 (TRIAL RELEASE)
+ - Fix for test failures seen on 32-bit systems with older Perl versions.
+ 1.33 2023-02-12 (TRIAL RELEASE)
+ - Fix for breakage on (some?) 32-bit platforms. If an integer calculation
done
+ internally overflowed all calls to this module's subs could error with "Day
+ too big - 105412 > -2147483648". This fix reduces the range of acceptable
+ epochs but should make the module usable again on such systems.
+ 1.32 2023-02-12 (TRIAL RELEASE)
+ - This is an alternative to the changes in the 1.31 release. Instead of
+ restoring "use integer", the code now explicitly handles non-integer
seconds
+ values. This fixes the confusing things that timelocal() does with
+ non-integer seconds but does not turn the seconds value into an
+ integer. Based on a bug report from Dmitriy Shamatrin. GH #18.
+ 1.31 2021-11-09 (TRIAL RELEASE)
+ - Restored the use of "use integer", which was removed in 2010 as part of the
+ change to support a 64-bit time_t in Perl, regardless of the platform. The
+ timelocal() sub does very confusing things with non-integer seconds because
+ internally it calls the system's localtime() function. And that localtime()
+ function may strip off the non-integer portion of the seconds value. This
+ leads to extremely confusing results because of the math that this module
+ does on the return value of localtime() internally.
+ With "use integer" back in effect the results are much more
+ predictable. Based on a bug report from Dmitriy Shamatrin. GH #18.
+
+-------------------------------------------------------------------
Old:
----
Time-Local-1.30.tar.gz
New:
----
Time-Local-1.35.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Time-Local.spec ++++++
--- /var/tmp/diff_new_pack.33vF84/_old 2023-05-04 17:10:58.204503910 +0200
+++ /var/tmp/diff_new_pack.33vF84/_new 2023-05-04 17:10:58.212503957 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Time-Local
#
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,16 @@
#
+%define cpan_name Time-Local
Name: perl-Time-Local
-Version: 1.30
+Version: 1.35
Release: 0
-%define cpan_name Time-Local
-Summary: Efficiently compute time from local and GMT time
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+Summary: Efficiently compute time from local and GMT time
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.96
@@ -50,11 +48,13 @@
is consistent with the values returned from 'localtime()' and 'gmtime()'.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
+
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod
644
%build
perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
%check
make test
@@ -65,8 +65,7 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
-%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
+%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
%license LICENSE
%changelog
++++++ Time-Local-1.30.tar.gz -> Time-Local-1.35.tar.gz ++++++
++++ 3107 lines of diff (skipped)