Hello community, here is the log from the commit of package python-jsonpickle for openSUSE:Factory checked in at 2020-03-27 00:23:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old) and /work/SRC/openSUSE:Factory/.python-jsonpickle.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonpickle" Fri Mar 27 00:23:49 2020 rev:7 rq:784832 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes 2020-03-08 22:21:31.687980861 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsonpickle.new.3160/python-jsonpickle.changes 2020-03-27 00:23:51.064212845 +0100 @@ -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.xh8jP0/_old 2020-03-27 00:23:51.732213184 +0100 +++ /var/tmp/diff_new_pack.xh8jP0/_new 2020-03-27 00:23:51.732213184 +0100 @@ -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