This commit is contained in:
parent
e83d0603ae
commit
994edcd063
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user