forked from pool/python-pyotherside
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotherside?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
19a2f218bc
commit
782c04f5a2
@@ -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
|
||||
|
Reference in New Issue
Block a user