diff --git a/jsoncpp.spec b/jsoncpp.spec index e2e9baf260a53b5904cb70f099e76155bcdc96bd..f1048dd67bf46f166d78c03afe7fd07408935319 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -1,6 +1,6 @@ Name: jsoncpp Version: 1.9.5 -Release: 1 +Release: 2 Summary: JSON C++ library License: Public Domain or MIT URL: https://github.com/open-source-parsers/jsoncpp @@ -61,6 +61,8 @@ chmod 644 %{buildroot}%{_docdir}/%{name}/html/*.{html,png} touch %{buildroot}%{_docdir}/%{name}/html hardlink -cfv %{buildroot}%{_docdir}/%{name} +cp -a %{_libdir}/libjsoncpp.so.* $RPM_BUILD_ROOT%{_libdir} + %check %make_build -C %{_vpath_builddir} jsoncpp_check @@ -88,6 +90,9 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name} %changelog +* Wed Jan 05 2022 shangyibin - 1.9.5-2 +- copy the .so file of the old version. + * Wed Dec 22 2021 shangyibin - 1.9.5-1 - upgrade version to 1.9.5