forked from pool/python-liblarch
- Run tests with xvfb-run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-liblarch?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 08:57:34 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Run tests with xvfb-run
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 22 23:34:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Jan 22 23:34:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: xvfb-run
|
||||||
BuildRequires: typelib(Gtk) >= 3.0
|
BuildRequires: typelib(Gtk) >= 3.0
|
||||||
Requires: python-gobject
|
Requires: python-gobject
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -70,7 +71,9 @@ This package provides GTK bindings for liblarch.
|
|||||||
|
|
||||||
# TESTS fail with segf, local execution works
|
# TESTS fail with segf, local execution works
|
||||||
%check
|
%check
|
||||||
%python_exec ./run-tests
|
%{python_expand #
|
||||||
|
xvfb-run $python ./run-tests
|
||||||
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user