From d95de202e70a10e7635fdf345074db049b06cef0b23fa98ee22cd0894b5e90ee Mon Sep 17 00:00:00 2001 From: Torsten Gruner Date: Tue, 1 Jan 2019 12:13:59 +0000 Subject: [PATCH] Accepting request 662279 from home:Simmphonie:python - fix build for Factory - update plugins.qmltypes (commit 067e3a6 on 27 Aug 2018) OBS-URL: https://build.opensuse.org/request/show/662279 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotherside?expand=0&rev=7 --- 067e3a618df7d9f51d446540324df4f647a0be18.zip | 3 +++ 1.5.3.tar.gz | 3 --- python-pyotherside.changes | 6 ++++++ python-pyotherside.spec | 14 ++++++++------ 4 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 067e3a618df7d9f51d446540324df4f647a0be18.zip delete mode 100644 1.5.3.tar.gz diff --git a/067e3a618df7d9f51d446540324df4f647a0be18.zip b/067e3a618df7d9f51d446540324df4f647a0be18.zip new file mode 100644 index 0000000..c83022b --- /dev/null +++ b/067e3a618df7d9f51d446540324df4f647a0be18.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23220a558217a6f3c6d9423a5ff48da739fbe84bb8919c11b6acdee0a1b3ee6f +size 247886 diff --git a/1.5.3.tar.gz b/1.5.3.tar.gz deleted file mode 100644 index e192298..0000000 --- a/1.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00049d5f42cac448368bc2a521edb8de36bb6d2a624e195b7f1004236758b805 -size 181811 diff --git a/python-pyotherside.changes b/python-pyotherside.changes index 5524a94..bae46e2 100644 --- a/python-pyotherside.changes +++ b/python-pyotherside.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 1 11:56:07 UTC 2019 - t.gruner@katodev.de + +- fix build for Factory +- update plugins.qmltypes (commit 067e3a6 on 27 Aug 2018) + ------------------------------------------------------------------- Tue Apr 10 08:10:33 UTC 2018 - t.gruner@katodev.de diff --git a/python-pyotherside.spec b/python-pyotherside.spec index 1e51d66..87d69ce 100644 --- a/python-pyotherside.spec +++ b/python-pyotherside.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyotherside # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,19 +20,21 @@ %define skip_python2 1 %define srcname pyotherside Name: python-pyotherside -Version: 1.5.3 +Version: 1.5.3_git20180827 Release: 0 Summary: Asynchronous Python 3 Bindings for Qt 5 License: ISC Group: Development/Languages/Python Url: http://thp.io/2011/pyotherside/ -Source0: https://github.com/thp/pyotherside/archive/%{version}.tar.gz +Source: https://github.com/thp/pyotherside/archive/067e3a618df7d9f51d446540324df4f647a0be18.zip Provides: pyotherside = %{version}-%{release} BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qtdeclarative-devel BuildRequires: pkgconfig BuildRequires: python-rpm-macros +BuildRequires: unzip %if %{with test} +BuildRequires: Mesa-dri BuildRequires: xvfb-run %endif BuildRequires: pkgconfig(Qt5Gui) @@ -47,12 +49,12 @@ BuildRequires: pkgconfig(python3) A QML Plugin that provides access to a Python 3 interpreter from QML. %prep -%setup -q -n %{srcname}-%{version} +%setup -q -n %{srcname}-067e3a618df7d9f51d446540324df4f647a0be18 # disable qtquicktests sed -i 's| qtquicktests||' pyotherside.pro %build -qmake-qt5 PYTHON_CONFIG=python%{py_ver}-config CONFIG+="nosilent c++11" QMAKE_CXXFLAGS="%{optflags} -fvisibility=hidden -fvisibility-inlines-hidden" +qmake-qt5 PYTHON_CONFIG=python%{python_version}-config QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true"; make %{?_smp_mflags} %install @@ -60,7 +62,7 @@ make INSTALL_ROOT=%{buildroot} install %if %{with test} %check -xvfb-run -s '-screen 0 640x480x8 -extension RANDR' -a ./tests/tests +xvfb-run -s '-screen 0, 1280x1024x24' -a ./tests/tests %endif %files %{python_files}