15
0
forked from pool/python-Pebble
Tomáš Chvátal
2020-04-20 11:21:08 +00:00
committed by Git OBS Bridge
parent ef46fa51c6
commit ea0328f348
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 11:18:48 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Thu Mar 26 16:16:44 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-Pebble
Version: 4.5.1
Release: 0
@@ -27,17 +28,18 @@ URL: https://github.com/noxdafox/pebble
Source: https://files.pythonhosted.org/packages/source/P/Pebble/Pebble-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: git
BuildRequires: python-futures
BuildRequires: git-core
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with python2}
BuildRequires: python-futures
%endif
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
%ifpython2
Requires: python-futures
%endif
BuildArch: noarch
%python_subpackages
%description