Hello community, here is the log from the commit of package python-pytz for openSUSE:Factory checked in at 2017-04-19 18:07:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytz (Old) and /work/SRC/openSUSE:Factory/.python-pytz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytz" Wed Apr 19 18:07:46 2017 rev:24 rq:485856 version:2017.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytz/python-pytz.changes 2017-03-21 22:43:26.478589166 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytz.new/python-pytz.changes 2017-04-19 18:07:49.255344814 +0200 @@ -1,0 +2,13 @@ +Wed Apr 5 15:17:50 UTC 2017 - [email protected] + +- create correct backwards-compatible Obsoletes/Provides +- revert to semantic PyPI URLs + +------------------------------------------------------------------- +Mon Apr 3 08:59:23 UTC 2017 - [email protected] + +- update to 2017.2: + * include IANA 2017b, tests assume >= 2017a is used + * drop pytz-2016.10-fix-tests-with-2017a.patch, upstream + +------------------------------------------------------------------- Old: ---- pytz-2016.10-fix-tests-with-2017a.patch pytz-2016.10.tar.bz2 pytz-2016.10.tar.bz2.asc New: ---- pytz-2017.2.zip pytz-2017.2.zip.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytz.spec ++++++ --- /var/tmp/diff_new_pack.P2TApH/_old 2017-04-19 18:07:51.015095888 +0200 +++ /var/tmp/diff_new_pack.P2TApH/_new 2017-04-19 18:07:51.015095888 +0200 @@ -16,31 +16,34 @@ # +%define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytz -Version: 2016.10 +Version: 2017.2 Release: 0 Summary: World timezone definitions, modern and historical License: MIT Group: Development/Languages/Python Url: http://pytz.sourceforge.net -Source: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.bz2 -Source2: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.bz2.asc +Source: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.zip +Source2: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.zip.asc Source90: pytz.keyring # PATCH-FIX-UPSTREAM fix-tests.patch -- Remote tests which are known to be broken Patch0: fix-tests.patch # PATCH-FEATURE-OPENSUSE -- Use system tz database (Olson database) Patch1: system_zoneinfo.patch -Patch2: pytz-2016.10-fix-tests-with-2017a.patch BuildRequires: %{python_module devel} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: unzip # Test requirements BuildRequires: %{python_module nose} BuildRequires: timezone Requires: timezone -Provides: python-tz = 2014b -Obsoletes: python-tz < 2014b +%ifpython2 +Provides: %{oldpython}-tz = %{version} +Obsoletes: %{oldpython}-tz < %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -62,10 +65,6 @@ %patch0 -p1 # Use system tz database %patch1 -p1 -# timezone 2017 a is currently only available in Leap 42.1 and Tumbleweed -%if 0%{?sle_version} == 120100 && 0%{?is_opensuse} || 0%{?suse_version} > 1320 -%patch2 -p2 -%endif # For rpmlint warning: remove shebang from python library: sed -i '/^#!/d' ./pytz/tzfile.py
