Hello community,

here is the log from the commit of package python-Logbook for 
openSUSE:Leap:15.2 checked in at 2020-05-14 06:51:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-Logbook (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-Logbook.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Logbook"

Thu May 14 06:51:34 2020 rev:12 rq:805272 version:1.5.3

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-Logbook/python-Logbook.changes  
2020-05-13 13:48:05.129404574 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-Logbook.new.2738/python-Logbook.changes    
    2020-05-14 06:51:46.147740111 +0200
@@ -1,0 +2,5 @@
+Sat Mar 14 08:12:35 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Logbook.spec ++++++
--- /var/tmp/diff_new_pack.6i7QUA/_old  2020-05-14 06:51:46.491740852 +0200
+++ /var/tmp/diff_new_pack.6i7QUA/_new  2020-05-14 06:51:46.495740861 +0200
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-Logbook
 Version:        1.5.3
 Release:        0
 Summary:        A logging replacement for Python
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/getlogbook/logbook
 Source:         
https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz
 BuildRequires:  %{python_module Brotli}
@@ -40,7 +40,6 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
-BuildRequires:  python-mock
 BuildRequires:  python-rpm-macros
 BuildRequires:  redis
 BuildRequires:  util-linux
@@ -50,6 +49,9 @@
 Recommends:     python-gevent
 Recommends:     python-pyzmq
 Recommends:     python-redis
+%if %{with python2}
+BuildRequires:  python-mock
+%endif
 %python_subpackages
 
 %description


Reply via email to