Hello community, here is the log from the commit of package python-jsonpickle for openSUSE:Leap:15.2 checked in at 2020-04-17 13:36:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-jsonpickle (Old) and /work/SRC/openSUSE:Leap:15.2/.python-jsonpickle.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonpickle" Fri Apr 17 13:36:49 2020 rev:6 rq:789118 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-jsonpickle/python-jsonpickle.changes 2020-03-13 11:00:59.896589675 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-jsonpickle.new.2738/python-jsonpickle.changes 2020-04-17 13:36:50.236188008 +0200 @@ -1,0 +2,5 @@ +Sat Mar 14 08:25:54 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jsonpickle.spec ++++++ --- /var/tmp/diff_new_pack.aeanRK/_old 2020-04-17 13:36:50.716188370 +0200 +++ /var/tmp/diff_new_pack.aeanRK/_new 2020-04-17 13:36:50.720188373 +0200 @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname jsonpickle +%bcond_without python2 Name: python-jsonpickle Version: 1.3 Release: 0 Summary: Python library for serializing any arbitrary object graph into JSON License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/jsonpickle/jsonpickle Source: https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz # PATCH-FIX-UPSTREAM PR292-Python38.patch gh#jsonpickle/jsonpickle#281 mc...@suse.com @@ -36,23 +36,22 @@ Suggests: python-demjson Suggests: python-ujson Suggests: python-yajl +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module coverage} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pymongo} BuildRequires: %{python_module pytest} -BuildRequires: python -BuildRequires: python3 +BuildRequires: %{pythons} # /SECTION -# SECTION python 2 test requirements +%if %{with python2} BuildRequires: python-enum34 -# /SECTION -# SECTION python 2 requirements +%endif +%ifpython2 Suggests: python-feedparser Suggests: python-jsonlib -BuildArch: noarch -# /SECTION +%endif %python_subpackages %description