Hello community, here is the log from the commit of package python-json_tricks for openSUSE:Factory checked in at 2020-04-21 13:10:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-json_tricks (Old) and /work/SRC/openSUSE:Factory/.python-json_tricks.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-json_tricks" Tue Apr 21 13:10:36 2020 rev:8 rq:795808 version:3.15.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-json_tricks/python-json_tricks.changes 2020-04-16 23:05:34.599798874 +0200 +++ /work/SRC/openSUSE:Factory/.python-json_tricks.new.2738/python-json_tricks.changes 2020-04-21 13:10:39.400811016 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 11:42:47 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-json_tricks.spec ++++++ --- /var/tmp/diff_new_pack.PasBsi/_old 2020-04-21 13:10:40.524813258 +0200 +++ /var/tmp/diff_new_pack.PasBsi/_new 2020-04-21 13:10:40.524813258 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-json_tricks Version: 3.15.2 Release: 0 @@ -39,7 +40,9 @@ BuildRequires: %{python_module pathlib} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} +%if %{with python2} BuildRequires: python-enum34 +%endif # /SECTION %ifpython2 Recommends: python-enum34
