diff --git a/1.5.1.tar.gz b/1.5.1.tar.gz new file mode 100644 index 0000000..40bd771 --- /dev/null +++ b/1.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fc325121f6881b5872de15ad05e8f534e35171658519872f7c61c0e5bb7f371 +size 16728 diff --git a/python-tzlocal.changes b/python-tzlocal.changes index b4d42be..081f835 100644 --- a/python-tzlocal.changes +++ b/python-tzlocal.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Mar 4 11:10:03 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-tzlocal.spec b/python-tzlocal.spec index c8a10b0..2c9965c 100644 --- a/python-tzlocal.spec +++ b/python-tzlocal.spec @@ -1,7 +1,7 @@ # # spec file for package python-tzlocal # -# Copyright (c) 2018 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 @@ -19,21 +19,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname tzlocal Name: python-%{modname} -Version: 1.4 +Version: 1.5.1 Release: 0 Summary: Provides 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 +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 @@ -66,9 +65,8 @@ file. However, if the timezone name is readily available it will be used. %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) %license LICENSE.txt -%doc README.rst MANIFEST.in CHANGES.txt PKG-INFO +%doc README.rst CHANGES.txt %{python_sitelib}/%{modname} %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info diff --git a/tzlocal-1.4.tar.gz b/tzlocal-1.4.tar.gz deleted file mode 100644 index cb3974c..0000000 --- a/tzlocal-1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05a2908f7fb1ba8843f03b2360d6ad314dbf2bce4644feb702ccd38527e13059 -size 15279