fix test error
(cherry picked from commit 2215b37af0c4f8feb1685ddca9782d8fe5156de5)
This commit is contained in:
parent
9b38f5899a
commit
ffb4cdafed
@ -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 <yanglu72@h-partners.com> - 2.42.0-4
|
||||
- fix test error
|
||||
|
||||
* Fri Nov 10 2023 zhangpan <zhangpan103@h-partners.com> - 2.42.0-3
|
||||
- enable make check
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user