Hello community,
here is the log from the commit of package python-tzlocal for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:24:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-tzlocal (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-tzlocal.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tzlocal"
Mon Mar 2 13:24:22 2020 rev:12 rq:777245 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-tzlocal/python-tzlocal.changes
2020-01-15 15:53:57.919615854 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-tzlocal.new.26092/python-tzlocal.changes
2020-03-02 13:24:22.754520269 +0100
@@ -2 +2 @@
-Wed Jun 5 11:28:26 UTC 2019 - Boris Manojlovic <[email protected]>
+Wed Jul 31 12:31:37 UTC 2019 - [email protected]
@@ -4,2 +4,51 @@
-- fix fdupes handling as it was linking python2 source into python3
- package breaking it boo#1137352
+- version update to 2.0.0
+ Major differences since 1.5.1
+ .............................
+ - When no time zone configuration can be find, tzlocal now return UTC.
+ This is a major difference from 1.x, where an exception would be raised.
+ This change is because Docker images often have no configuration at all,
+ and the unix utilities will then default to UTC, so we follow that.
+ - If tzlocal on Unix finds a timezone name in a /etc config file, then
+ tzlocal now verifies that the timezone it fouds has the same offset as
+ the local computer is configured with. If it doesn't, something is
+ configured incorrectly. (Victor Torres, regebro)
+ - Get timezone via Termux `getprop` wrapper on Android. It's not officially
+ supported because we can't test it, but at least we make an effort.
+ (Jean Jordaan)
+ Minor differences and bug fixes
+ ...............................
+ - Skip comment lines when parsing /etc/timezone. (Edward Betts)
+ - Don't load timezone from current directory. (Gabriel Corona)
+ - Now verifies that the config files actually contain something before
+ reading them. (Zackary Welch, regebro)
+ - Got rid of a BytesWarning (Mickaël Schoentgen)
+ - Now handles if config file paths exists, but are directories.
+
+-------------------------------------------------------------------
+Sun Mar 17 22:58:27 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Use noun phrase in summary.
+
+-------------------------------------------------------------------
+Mon Mar 4 11:10:03 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Switch to github archive as per upstream recommendation:
+ * the pypi archive fails tests due to wrong file->symlink conversions
+- Update to 1.5.1:
+ * increased test coverage.
+ * No longer treats macOS as special, but as a unix.
+ * get_windows_info.py is renamed to update_windows_mappings.py
+ * Windows mappings now also contain mappings from deprecated zoneinfo names.
+ (Preston-Landers, regebro)
+
+-------------------------------------------------------------------
+Tue Dec 4 12:55:33 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
+Wed Sep 12 15:03:50 UTC 2018 - Sean Marlow <[email protected]>
+
+- Fix fdupes, broke python3 package (was symlink to python2)
+- Fix check, only tested against python2
+- Move license
Old:
----
tzlocal-1.4.tar.gz
New:
----
2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tzlocal.spec ++++++
--- /var/tmp/diff_new_pack.4ERXE5/_old 2020-03-02 13:24:23.042520842 +0100
+++ /var/tmp/diff_new_pack.4ERXE5/_new 2020-03-02 13:24:23.042520842 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-tzlocal
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,29 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname tzlocal
Name: python-%{modname}
-Version: 1.4
+Version: 2.0.0
Release: 0
-Summary: Provides tzinfo object for the local timezone
+Summary: tzinfo object for the local timezone
License: MIT
Group: Development/Libraries/Python
-Url: https://github.com/regebro/%{modname}
-Source:
https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
-BuildRequires: %{python_module devel}
+URL: https://github.com/regebro/tzlocal
+Source: https://github.com/regebro/tzlocal/archive/%{version}.tar.gz
+BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
-
%python_subpackages
%description
@@ -64,11 +62,11 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-python setup.py test
+%python_exec setup.py test
%files %{python_files}
-%defattr(-,root,root)
-%doc README.rst MANIFEST.in LICENSE.txt CHANGES.txt PKG-INFO
+%license LICENSE.txt
+%doc README.rst CHANGES.txt
%{python_sitelib}/%{modname}
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
++++++ tzlocal-1.4.tar.gz -> 2.0.0.tar.gz ++++++
++++ 1986 lines of diff (skipped)