Hello community,

here is the log from the commit of package python-mockldap for openSUSE:Factory 
checked in at 2020-04-21 13:10:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mockldap (Old)
 and      /work/SRC/openSUSE:Factory/.python-mockldap.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mockldap"

Tue Apr 21 13:10:29 2020 rev:5 rq:795803 version:0.3.0.post1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mockldap/python-mockldap.changes  
2019-09-13 14:58:31.397277756 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-mockldap.new.2738/python-mockldap.changes    
    2020-04-21 13:10:32.656797565 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 11:36:00 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mockldap.spec ++++++
--- /var/tmp/diff_new_pack.91glHo/_old  2020-04-21 13:10:33.600799448 +0200
+++ /var/tmp/diff_new_pack.91glHo/_new  2020-04-21 13:10:33.604799456 +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


Reply via email to