forked from pool/python-pymemcache
- Fix build without python 2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymemcache?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
0d3b60c7dd
commit
a85edc3b08
@@ -18,6 +18,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-pymemcache
|
||||
Version: 3.0.1
|
||||
Release: 0
|
||||
@@ -34,9 +35,11 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python-future
|
||||
%endif
|
||||
%ifpython2
|
||||
BuildRequires: python2-future
|
||||
Requires: python2-future
|
||||
Requires: python-future
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
|
Reference in New Issue
Block a user