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
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 23 09:34:22 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python 2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 23 14:54:06 UTC 2020 - pgajdos@suse.com
|
Mon Mar 23 14:54:06 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-pymemcache
|
Name: python-pymemcache
|
||||||
Version: 3.0.1
|
Version: 3.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -34,9 +35,11 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python-future
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
BuildRequires: python2-future
|
Requires: python-future
|
||||||
Requires: python2-future
|
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user