diff --git a/jsoncpp.spec b/jsoncpp.spec index f93ea98..77644d9 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -74,7 +74,7 @@ format to store user input files. -DJSONCPP_WITH_CMAKE_PACKAGE=ON # path needs to be exported otherwise unit tests will fail export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/src/lib_json -make %{?_smp_mflags} +%make_jobs %install %cmake_install @@ -86,7 +86,8 @@ rm -rf %{buildroot}%{_libdir}/lib%{name}.a %files -n lib%{name}%{sover} %defattr(-,root,root) %doc LICENSE -%{_libdir}/lib%{name}.so.* +%{_libdir}/lib%{name}.so.%{sover}* +%{_libdir}/lib%{name}.so.%{version} %files devel %defattr(-,root,root)