forked from pool/jsoncpp
This commit is contained in:
@@ -28,7 +28,6 @@ Source0: https://github.com/open-source-parsers/%{name}/archive/%{version
|
|||||||
BuildRequires: cmake >= 3.1
|
BuildRequires: cmake >= 3.1
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
JSON is a lightweight data-interchange format. It can represent numbers,
|
JSON is a lightweight data-interchange format. It can represent numbers,
|
||||||
@@ -81,7 +80,7 @@ format to store user input files.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# path needs to be exported otherwise unit tests will fail
|
# 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
|
./build/src/test_lib_json/jsoncpp_test
|
||||||
|
|
||||||
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
|
Reference in New Issue
Block a user