diff --git a/at-spi2-core.spec b/at-spi2-core.spec index 5e0c0800cd97e9e141c4ff5c7066eaaf76af7db8..809d5b4c958087f1d0341a0e428bfd9efff1d2d2 100644 --- a/at-spi2-core.spec +++ b/at-spi2-core.spec @@ -1,6 +1,7 @@ +#needsrootforbuild Name: at-spi2-core Version: 2.51.0 -Release: 2 +Release: 3 Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project. License: LGPLv2+ @@ -104,7 +105,13 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d/00- %{find_lang} %{name} %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 -f %{name}.lang %license COPYING @@ -167,6 +174,9 @@ dbus-launch ninja -C %{_host} test %{_docdir}/libatspi %changelog +* Fri Apr 19 2024 yanglu - 2.51.0-3 +- fix test error + * Wed Mar 13 2024 zhangpan - 2.51.0-2 - fix gtk2 build fail