14
0
Tomáš Chvátal
2020-03-10 08:54:28 +00:00
committed by Git OBS Bridge
parent 19a2f218bc
commit 782c04f5a2

View File

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