From ed9611157e40640a7914a3c12fcf55e5d144e4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=96=87=E5=9F=B9?= Date: Fri, 15 Sep 2023 06:27:58 +0000 Subject: [PATCH] enable make check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 周文培 --- at-spi2-core.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/at-spi2-core.spec b/at-spi2-core.spec index f46cbd8..6827b02 100644 --- a/at-spi2-core.spec +++ b/at-spi2-core.spec @@ -1,6 +1,6 @@ Name: at-spi2-core Version: 2.44.1 -Release: 2 +Release: 3 Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project. License: LGPLv2+ @@ -10,7 +10,7 @@ Source1: xwayland-session-scriptlet BuildRequires: meson gtk-doc libXi-devel glib2-devel libXtst-devel gettext BuildRequires: dbus-devel gobject-introspection-devel systemd libxslt -BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libsystemd) dbus-x11 Requires: dbus %description @@ -46,6 +46,9 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d/00- %{find_lang} %{name} +%check +dbus-launch ninja -C %{_host} test + %files -f %{name}.lang %doc AUTHORS %license COPYING @@ -74,6 +77,9 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d/00- %{_datadir}/gtk-doc/html/libatspi %changelog +* Fri Sep 15 2023 zhouwenpei - 2.44.1-3 +- enable make check + * Mon Jun 20 2022 wangkerong - 2.44.1-2 - fix build fail on meson-0.6 -- Gitee