SHA256
1
0
forked from pool/weston
Jan Engelhardt 2019-03-29 14:20:24 +00:00 committed by Git OBS Bridge
parent ab42f3f228
commit 9deb6a0025

View File

@ -149,11 +149,14 @@ to develop plugins for Weston.
%if !0%{?qemu_user_space_build} %if !0%{?qemu_user_space_build}
export XDG_RUNTIME_DIR="$PWD/xdg" export XDG_RUNTIME_DIR="$PWD/xdg"
mkdir -pm go-rwx "$XDG_RUNTIME_DIR" mkdir -pm go-rwx "$XDG_RUNTIME_DIR"
if ! make BACKEND=headless-backend.so check; then export BACKEND=headless-backend.so
cat test-suite.log || : pushd build/
if ! meson test; then
cat meson-logs/testlog.txt
# make check can not pass completely without an actual screen. # make check can not pass completely without an actual screen.
#exit 1 #exit 1
fi fi
popd
%endif %endif
%post -n libweston-%major-0 -p /sbin/ldconfig %post -n libweston-%major-0 -p /sbin/ldconfig
@ -169,6 +172,7 @@ fi
%_libdir/%name/ %_libdir/%name/
%_datadir/%name/ %_datadir/%name/
%_datadir/wayland-sessions/ %_datadir/wayland-sessions/
%_datadir/pkgconfig/*.pc
%_mandir/man?/*.* %_mandir/man?/*.*
%files -n libweston-%major-0 %files -n libweston-%major-0
@ -188,6 +192,5 @@ fi
%_includedir/%name/ %_includedir/%name/
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%_libdir/libweston*.so %_libdir/libweston*.so
%_datadir/pkgconfig/*.pc
%changelog %changelog