From be71fd7e025fcdc98b69bd32de0b85dc9270c0e2b6bf41b80ffb1adfbf01c910 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 24 Jun 2021 22:37:45 +0000 Subject: [PATCH] Really don't bother with %{oldpython} macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=62 --- python-WebOb.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-WebOb.spec b/python-WebOb.spec index ae79f7b..73426c0 100644 --- a/python-WebOb.spec +++ b/python-WebOb.spec @@ -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