forked from pool/python-WebOb
Really don't bother with %{oldpython} macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=62
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python3
|
||||
Name: python-WebOb
|
||||
Version: 1.8.7
|
||||
Release: 0
|
||||
@@ -35,10 +34,10 @@ BuildRequires: python3-Sphinx
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
# We need SSL support
|
||||
BuildRequires: %{oldpython}
|
||||
Requires: %{oldpython}
|
||||
Obsoletes: %{oldpython}-webob < %{version}
|
||||
Provides: %{oldpython}-webob = %{version}
|
||||
BuildRequires: python3
|
||||
Requires: python3
|
||||
Obsoletes: python3-webob < %{version}
|
||||
Provides: python3-webob = %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user