forked from pool/python-Beaker
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=47
This commit is contained in:
committed by
Git OBS Bridge
parent
7c62141a36
commit
a6c8590456
@@ -1,3 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 06:59:17 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Fix build without Python 2 present.
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%bcond_without python2
|
||||
Name: python-Beaker
|
||||
Version: 1.11.0
|
||||
@@ -40,23 +41,23 @@ BuildRequires: %{python_module redis}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with python2}
|
||||
BuildRequires: python-funcsigs
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-pylibmc
|
||||
Requires: python-setuptools
|
||||
Recommends: python-SQLAlchemy
|
||||
Recommends: python-cryptography
|
||||
Recommends: python-python-memcached
|
||||
Recommends: python-pycrypto
|
||||
Recommends: python-pycryptopp >= 0.5.12
|
||||
Recommends: python-pymongo
|
||||
Recommends: python-python-memcached
|
||||
Recommends: python-redis
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python-funcsigs
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-funcsigs
|
||||
Provides: python-beaker = %{version}
|
||||
Obsoletes: python-beaker < %{version}
|
||||
Provides: %{oldpython}-beaker = %{version}
|
||||
Obsoletes: %{oldpython}-beaker < %{version}
|
||||
%endif
|
||||
%ifpython3
|
||||
Requires: python3-dbm
|
||||
|
||||
Reference in New Issue
Block a user