!38 fix test error

From: @yangl777 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2024-04-19 08:58:22 +00:00 committed by Gitee
commit 025b9e0e40
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,7 @@
#needsrootforbuild
Name: at-spi2-core Name: at-spi2-core
Version: 2.51.0 Version: 2.51.0
Release: 2 Release: 3
Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project. Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project.
License: LGPLv2+ License: LGPLv2+
@ -104,7 +105,13 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d/00-
%{find_lang} %{name} %{find_lang} %{name}
%check %check
if [ ! -e /usr/libexec/at-spi-bus-launcher ];then
ninja -C %{_host} install
dbus-launch ninja -C %{_host} test dbus-launch ninja -C %{_host} test
ninja -C %{_host} uninstall
else
dbus-launch ninja -C %{_host} test
fi
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
@ -167,6 +174,9 @@ dbus-launch ninja -C %{_host} test
%{_docdir}/libatspi %{_docdir}/libatspi
%changelog %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 * Wed Mar 13 2024 zhangpan <zhangpan103@h-partners.com> - 2.51.0-2
- fix gtk2 build fail - fix gtk2 build fail