14
0
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:
2021-06-24 22:37:45 +00:00
committed by Git OBS Bridge
parent 033ff49026
commit be71fd7e02

View File

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