Hello community,

here is the log from the commit of package python-Logbook for openSUSE:Factory 
checked in at 2020-03-27 00:23:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old)
 and      /work/SRC/openSUSE:Factory/.python-Logbook.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Logbook"

Fri Mar 27 00:23:43 2020 rev:7 rq:784820 version:1.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes    
2020-01-16 18:15:48.444790404 +0100
+++ /work/SRC/openSUSE:Factory/.python-Logbook.new.3160/python-Logbook.changes  
2020-03-27 00:23:44.376209458 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:12:35 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Logbook.spec ++++++
--- /var/tmp/diff_new_pack.ujcmsv/_old  2020-03-27 00:23:45.200209875 +0100
+++ /var/tmp/diff_new_pack.ujcmsv/_new  2020-03-27 00:23:45.204209876 +0100
@@ -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