diff --git a/kio-fuse.changes b/kio-fuse.changes index 819a63c..e3066d7 100644 --- a/kio-fuse.changes +++ b/kio-fuse.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 31 18:46:53 UTC 2019 - Fabian Vogt + +- Skip %check if fusermount3 is not executable. post-build-checks + breaks it in openSUSE:Factory (boo#1159963) + ------------------------------------------------------------------- Fri Nov 29 13:04:21 UTC 2019 - Fabian Vogt diff --git a/kio-fuse.spec b/kio-fuse.spec index 6f38bda..bebb773 100644 --- a/kio-fuse.spec +++ b/kio-fuse.spec @@ -60,6 +60,13 @@ applications using FUSE. # The hack below only works with util-linux 3.34+. # Without working umount, the tests can't work :-( +ret=0 +fusermount3 || ret=$? +if [ $ret -eq 126 ] ; then + # No permission to run fusermount3: boo#1159963 + exit 0 +fi + # Hack to make "fusermount3 -u" work in the OBS context # (https://github.com/openSUSE/obs-build/issues/535) echo -e '#!/bin/sh\numount $2' >> fusermount3