From 782c04f5a29b371611526d2e565461d2ea04c66cf3376ceb212683628e948766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 10 Mar 2020 08:54:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotherside?expand=0&rev=15 --- python-pyotherside.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pyotherside.spec b/python-pyotherside.spec index 76dbd4a..0e6499d 100644 --- a/python-pyotherside.spec +++ b/python-pyotherside.spec @@ -16,7 +16,6 @@ # -%define skip_python2 1 %define srcname pyotherside %bcond_without test Name: python-pyotherside @@ -38,6 +37,7 @@ BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(python3) Provides: pyotherside = %{version}-%{release} Provides: python3-pyotherside = %{version}-%{release} +Obsoletes: python3-pyotherside < %{version}-%{release} %if %{with test} BuildRequires: Mesa-dri BuildRequires: xvfb-run @@ -52,7 +52,7 @@ A QML Plugin that provides access to a Python 3 interpreter from QML. sed -i 's| qtquicktests||' pyotherside.pro %build -%qmake5 PYTHON_CONFIG=python%{python_version}-config QMAKE_STRIP="/bin/true"; +%qmake5 PYTHON_CONFIG=python%{python3_version}-config QMAKE_STRIP="/bin/true"; %make_build %install