fix test error

This commit is contained in:
yangl777 2024-04-19 07:55:07 +00:00
parent e825ee6aa4
commit c8590e920a

View File

@ -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 <yanglu72@h-partners.com> - 2.51.0-3
- fix test error
* Wed Mar 13 2024 zhangpan <zhangpan103@h-partners.com> - 2.51.0-2
- fix gtk2 build fail