From 9deb6a00257deab2f4f84ab7f283abb64ba8ad867e2ccca09946deaa10d7b257 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 29 Mar 2019 14:20:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/weston?expand=0&rev=77 --- weston.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/weston.spec b/weston.spec index 3c33079..945c282 100644 --- a/weston.spec +++ b/weston.spec @@ -149,11 +149,14 @@ to develop plugins for Weston. %if !0%{?qemu_user_space_build} export XDG_RUNTIME_DIR="$PWD/xdg" mkdir -pm go-rwx "$XDG_RUNTIME_DIR" -if ! make BACKEND=headless-backend.so check; then - cat test-suite.log || : +export BACKEND=headless-backend.so +pushd build/ +if ! meson test; then + cat meson-logs/testlog.txt # make check can not pass completely without an actual screen. #exit 1 fi +popd %endif %post -n libweston-%major-0 -p /sbin/ldconfig @@ -169,6 +172,7 @@ fi %_libdir/%name/ %_datadir/%name/ %_datadir/wayland-sessions/ +%_datadir/pkgconfig/*.pc %_mandir/man?/*.* %files -n libweston-%major-0 @@ -188,6 +192,5 @@ fi %_includedir/%name/ %_libdir/pkgconfig/*.pc %_libdir/libweston*.so -%_datadir/pkgconfig/*.pc %changelog