Do not turn of rpath support

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=28
This commit is contained in:
Andreas Schneider 2015-07-15 08:37:28 +00:00 committed by Git OBS Bridge
parent e3598846b4
commit 95ed508c1c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 15 08:37:06 UTC 2015 - asn@cryptomilk.org
- Do not turn of rpath support
-------------------------------------------------------------------
Tue Jul 14 14:07:14 UTC 2015 - tchvatal@suse.com

View File

@ -95,6 +95,7 @@ Static cmocka unit testing library.
%build
%cmake \
-DCMAKE_SKIP_RPATH=OFF \
-DWITH_STATIC_LIB=ON \
-DWITH_CMOCKERY_SUPPORT=ON \
-DUNIT_TESTING=ON
@ -106,7 +107,6 @@ make %{?_smp_mflags}
%check
pushd build
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make %{?_smp_mflags} test || {
cat Testing/Temporary/LastTest.log;
exit 1;