Hello community,
here is the log from the commit of package python-mockldap for
openSUSE:Leap:15.2 checked in at 2020-04-22 14:13:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-mockldap (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-mockldap.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mockldap"
Wed Apr 22 14:13:36 2020 rev:16 rq:796210 version:0.3.0.post1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-mockldap/python-mockldap.changes
2020-03-09 18:08:55.780987090 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-mockldap.new.2738/python-mockldap.changes
2020-04-22 14:13:37.226580251 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 11:36:00 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mockldap.spec ++++++
--- /var/tmp/diff_new_pack.QIlEBE/_old 2020-04-22 14:13:37.526580857 +0200
+++ /var/tmp/diff_new_pack.QIlEBE/_new 2020-04-22 14:13:37.526580857 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-mockldap
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-mockldap
Version: 0.3.0.post1
Release: 0
@@ -29,14 +30,16 @@
BuildRequires: %{python_module ldap >= 3.0}
BuildRequires: %{python_module setuptools >= 0.6c11}
BuildRequires: fdupes
-BuildRequires: python-mock
BuildRequires: python-rpm-macros
Requires: python-funcparserlib >= 0.3.6
Requires: python-ldap >= 3.0
+BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-mock
+%endif
%ifpython2
Requires: python-mock
%endif
-BuildArch: noarch
%python_subpackages
%description