!38 fix test error
From: @yangl777 Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
025b9e0e40
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user