diff --git a/at-spi2-core.spec b/at-spi2-core.spec index 116b2c8e1b75c98ffa200f38842f2e9030df3c6a..a793e400e90af97f7e93ffe1023cef4786c21a73 100644 --- a/at-spi2-core.spec +++ b/at-spi2-core.spec @@ -1,6 +1,7 @@ +#needsrootforbuild Name: at-spi2-core Version: 2.42.0 -Release: 3 +Release: 4 Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project. License: LGPLv2+ @@ -41,7 +42,13 @@ The API documentation and header files of litabspi are included by %{name}-devel %ldconfig_scriptlets %check -dbus-launch ninja -C %{_host} test +if [ ! -e /usr/libexec/at-spi-bus-launcher ];then + ninja -C %{_host} install + dbus-launch ninja -C %{_host} test + ninja -C %{_host} uninstall +else + dbus-launch ninja -C %{_host} test +fi %files %doc AUTHORS @@ -70,6 +77,9 @@ dbus-launch ninja -C %{_host} test %{_datadir}/gtk-doc/html/libatspi %changelog +* Fri Apr 19 2024 yanglu - 2.42.0-4 +- fix test error + * Fri Nov 10 2023 zhangpan - 2.42.0-3 - enable make check