From 43c5cbb046bfb6c0e7a884f31cf4070368f99099b7f29758e55c2d87fa490863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Sun, 8 Nov 2015 14:32:19 +0000 Subject: [PATCH] Point LD_LIBRARY_PATH to the just-built libraries while calling make test. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=67 --- talloc-man.changes | 1 + talloc-man.spec | 5 +++-- talloc.changes | 1 + talloc.spec | 5 +++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/talloc-man.changes b/talloc-man.changes index e1c523d..8499180 100644 --- a/talloc-man.changes +++ b/talloc-man.changes @@ -1,6 +1,7 @@ ------------------------------------------------------------------- Sun Nov 8 13:30:08 UTC 2015 - lmuelle@suse.com +- Point LD_LIBRARY_PATH to the just-built libraries while calling make test. - Create a 2nd talloc-man spec-file to avoid a build cycle. - Recommend to install tevent-man from libtalloc-devel. diff --git a/talloc-man.spec b/talloc-man.spec index e03eff1..29a1ffc 100644 --- a/talloc-man.spec +++ b/talloc-man.spec @@ -203,8 +203,9 @@ doxygen doxy.config %if ! %{build_man} %check -# make test doesn't work with --disable-rpath -#%{__make} test +mkdir lib/talloc +ln test_magic_differs* lib/talloc/ +LD_LIBRARY_PATH=bin/shared %{__make} test %endif # ! build_man %install diff --git a/talloc.changes b/talloc.changes index e1c523d..8499180 100644 --- a/talloc.changes +++ b/talloc.changes @@ -1,6 +1,7 @@ ------------------------------------------------------------------- Sun Nov 8 13:30:08 UTC 2015 - lmuelle@suse.com +- Point LD_LIBRARY_PATH to the just-built libraries while calling make test. - Create a 2nd talloc-man spec-file to avoid a build cycle. - Recommend to install tevent-man from libtalloc-devel. diff --git a/talloc.spec b/talloc.spec index a6ab6fb..3eb3c4c 100644 --- a/talloc.spec +++ b/talloc.spec @@ -203,8 +203,9 @@ doxygen doxy.config %if ! %{build_man} %check -# make test doesn't work with --disable-rpath -#%{__make} test +mkdir lib/talloc +ln test_magic_differs* lib/talloc/ +LD_LIBRARY_PATH=bin/shared %{__make} test %endif # ! build_man %install