Hello community, here is the log from the commit of package python-PyKMIP for openSUSE:Factory checked in at 2020-04-21 13:08:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyKMIP (Old) and /work/SRC/openSUSE:Factory/.python-PyKMIP.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyKMIP" Tue Apr 21 13:08:56 2020 rev:4 rq:795772 version:0.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyKMIP/python-PyKMIP.changes 2020-03-18 12:40:02.776751786 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyKMIP.new.2738/python-PyKMIP.changes 2020-04-21 13:09:14.956642597 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 10:38:03 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyKMIP.spec ++++++ --- /var/tmp/diff_new_pack.NY4f0r/_old 2020-04-21 13:09:15.956644592 +0200 +++ /var/tmp/diff_new_pack.NY4f0r/_new 2020-04-21 13:09:15.956644592 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-PyKMIP Version: 0.10.0 Release: 0 @@ -36,17 +37,19 @@ BuildRequires: %{python_module testtools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-enum34 Requires: python-SQLAlchemy Requires: python-cryptography Requires: python-requests Requires: python-six -%ifpython2 -Requires: python-enum34 -%endif Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +%if %{with python2} +BuildRequires: python-enum34 +%endif +%ifpython2 +Requires: python-enum34 +%endif %python_subpackages %description
