Hello community,

here is the log from the commit of package python-PyKMIP for openSUSE:Leap:15.2 
checked in at 2020-04-25 19:08:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-PyKMIP (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-PyKMIP.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyKMIP"

Sat Apr 25 19:08:41 2020 rev:3 rq:797258 version:0.10.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-PyKMIP/python-PyKMIP.changes    
2020-03-19 08:36:07.617841335 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-PyKMIP.new.2738/python-PyKMIP.changes  
2020-04-25 19:08:55.208090459 +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.XuQfJH/_old  2020-04-25 19:08:56.360092935 +0200
+++ /var/tmp/diff_new_pack.XuQfJH/_new  2020-04-25 19:08:56.360092935 +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


Reply via email to