forked from pool/jsoncpp
This commit is contained in:
@@ -74,7 +74,7 @@ format to store user input files.
|
|||||||
-DJSONCPP_WITH_CMAKE_PACKAGE=ON
|
-DJSONCPP_WITH_CMAKE_PACKAGE=ON
|
||||||
# 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:%{_builddir}/%{name}-%{version}/build/src/lib_json
|
||||||
make %{?_smp_mflags}
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
@@ -86,7 +86,8 @@ rm -rf %{buildroot}%{_libdir}/lib%{name}.a
|
|||||||
%files -n lib%{name}%{sover}
|
%files -n lib%{name}%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_libdir}/lib%{name}.so.*
|
%{_libdir}/lib%{name}.so.%{sover}*
|
||||||
|
%{_libdir}/lib%{name}.so.%{version}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Reference in New Issue
Block a user