Hello community, here is the log from the commit of package python-gssapi for openSUSE:Factory checked in at 2020-03-27 00:25:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gssapi (Old) and /work/SRC/openSUSE:Factory/.python-gssapi.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gssapi" Fri Mar 27 00:25:45 2020 rev:6 rq:785577 version:1.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gssapi/python-gssapi.changes 2020-03-08 22:22:20.888011219 +0100 +++ /work/SRC/openSUSE:Factory/.python-gssapi.new.3160/python-gssapi.changes 2020-03-27 00:25:49.688272934 +0100 @@ -1,0 +2,5 @@ +Mon Mar 16 10:36:51 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gssapi.spec ++++++ --- /var/tmp/diff_new_pack.RMG24b/_old 2020-03-27 00:25:50.572273382 +0100 +++ /var/tmp/diff_new_pack.RMG24b/_new 2020-03-27 00:25:50.572273382 +0100 @@ -17,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-gssapi Version: 1.6.2 Release: 0 Summary: A Python interface to RFC 2743/2744 (plus common extensions) License: ISC -Group: Development/Languages/Python URL: https://pythongssapi.github.io/python-gssapi/stable/ Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz BuildRequires: %{python_module Cython} @@ -35,8 +35,10 @@ BuildRequires: python-rpm-macros Requires: python-decorator Requires: python-six -%ifpython2 +%if %{with python2} BuildRequires: python2-enum34 +%endif +%ifpython2 Requires: python2-enum34 %endif %python_subpackages
