14
0
Tomáš Chvátal
2020-04-23 09:34:51 +00:00
committed by Git OBS Bridge
parent 0d3b60c7dd
commit a85edc3b08
2 changed files with 10 additions and 2 deletions

View File

@@ -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

View File

@@ -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