From 1a62a26c8d1754e56b4be57e7ffd390d6435f389 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mon, 31 Aug 2020 17:47:04 +0200 Subject: [PATCH] make the test-suite use the just built library ... instead of the system one --- acl.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acl.spec b/acl.spec index c0d26f2..2271534 100644 --- a/acl.spec +++ b/acl.spec @@ -54,6 +54,9 @@ defined in POSIX 1003.1e draft standard 17. %make_build %check +# make the test-suite use the just built library (instead of the system one) +export LD_LIBRARY_PATH="${RPM_BUILD_ROOT}%{_libdir}:${LD_LIBRARY_PATH}" + if ./setfacl -m "u:$(id -u):rwx" .; then if test 0 = "$(id -u)"; then # test/root/permissions.test requires the 'daemon' user to be a member