Move away from xvfb-run (done by nielsdg@redhat.com in Fedora)

Resolves: RHEL-36644
This commit is contained in:
Tomas Popela 2024-07-23 16:23:37 +02:00
parent a415fa6b6c
commit cc09a30440

View File

@ -5,7 +5,7 @@
Name: pygobject3
Version: 3.46.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Python bindings for GObject Introspection
License: LGPL-2.1-or-later
@ -26,7 +26,9 @@ BuildRequires: python3-setuptools
# Keep TEST_GTK_VERSION in %%check in sync with gtk version used here
BuildRequires: python3dist(pytest)
BuildRequires: gtk3
BuildRequires: xorg-x11-server-Xvfb
BuildRequires: xwayland-run
BuildRequires: mutter
BuildRequires: mesa-dri-drivers
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
@ -88,7 +90,7 @@ This package contains files required to embed PyGObject
%check
export TEST_GTK_VERSION=3.0
%{shrink:xvfb-run -s "-screen 0 1600x1200x24" %meson_test --timeout-multiplier=5}
%{shrink:xwfb-run -c mutter -- %meson_test --timeout-multiplier=5}
%files -n python3-gobject
@ -114,6 +116,9 @@ export TEST_GTK_VERSION=3.0
%{_libdir}/pkgconfig/pygobject-3.0.pc
%changelog
* Tue Jul 23 2024 Tomas Popela <tpopela@redhat.com> - 3.46.0-6
- Move away from xvfb-run (done by nielsdg@redhat.com in Fedora)
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.46.0-5
- Bump release for June 2024 mass rebuild