Martin Pluskal 2017-06-21 10:32:59 +00:00 committed by Git OBS Bridge
parent e83d0603ae
commit 994edcd063

View File

@ -28,7 +28,6 @@ Source0: https://github.com/open-source-parsers/%{name}/archive/%{version
BuildRequires: cmake >= 3.1
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
JSON is a lightweight data-interchange format. It can represent numbers,
@ -81,7 +80,7 @@ format to store user input files.
%check
# path needs to be exported otherwise unit tests will fail
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/src/lib_json
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
./build/src/test_lib_json/jsoncpp_test
%post -n lib%{name}%{sover} -p /sbin/ldconfig