From 11df51a6496ce24ab4f3a0b9fbde6982bf289e9e Mon Sep 17 00:00:00 2001 From: lb1107039128 Date: Fri, 19 Jan 2024 14:35:30 +0800 Subject: [PATCH] Description Failed to repair the rpmbuild-ba command Signed-off-by: lb1107039128 --- pygobject3.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pygobject3.spec b/pygobject3.spec index 8d5f965..41fee1f 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -2,7 +2,7 @@ Name: pygobject3 Version: 3.36.1 -Release: 2 +Release: 3 Summary: Provides bindings for GObject based libraries License: LGPLv2+ and MIT URL: https://wiki.gnome.org/Projects/PyGObject @@ -16,6 +16,7 @@ BuildRequires: python2-pytest python3-pytest %if 0%{?with_python3} BuildRequires: python3-devel >= 3.4 python3-cairo-devel >= 1.11.1 %endif +BuildRequires: gtk3 dbus-x11 dejavu-fonts xorg-x11-server-Xvfb %description PyGObject is a Python package which provides bindings for GObject based libraries such as @@ -103,8 +104,8 @@ pushd %{py3dir} popd %check -%{__python2} setup.py test -%{__python3} setup.py test +xvfb-run %{__python2} setup.py test +xvfb-run %{__python3} setup.py test %pre @@ -145,6 +146,9 @@ popd %{_libdir}/pkgconfig/pygobject-3.0.pc %changelog +* Fri Jan 19 2024 liubo - 3.36.1-3 +- Description Failed to repair the rpmbuild-ba command + * Sat May 22 2021 wangchen - 3.36.1-2 - enable check test suite -- Gitee