14
0
forked from pool/python-WebOb

Accepting request 902224 from devel:languages:python

- We should require python3-* packages, not python-* ones, which
  are python2.

OBS-URL: https://build.opensuse.org/request/show/902224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=32
This commit is contained in:
2021-06-28 13:33:21 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 24 22:29:11 UTC 2021 - Matej Cepl <mcepl@suse.com>
- We should require python3-* packages, not python-* ones, which
are python2.
-------------------------------------------------------------------
Sat Mar 20 19:02:16 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@@ -17,7 +17,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
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