forked from pool/python-Logbook
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Logbook?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
e9cd719e34
commit
4732f4f7a5
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 08:12:35 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 15 10:46:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
||||
@@ -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 redis}
|
||||
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-execnet >= 1.0.9
|
||||
Recommends: python-gevent
|
||||
Recommends: python-pyzmq
|
||||
Recommends: python-redis
|
||||
%if %{with python2}
|
||||
BuildRequires: python-mock
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user