From e874ec0a5495955c78807a72bcae0efd612b457c Mon Sep 17 00:00:00 2001 From: shangyibin Date: Wed, 5 Jan 2022 16:32:00 +0800 Subject: [PATCH] copy the .so file of the old version. --- jsoncpp.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jsoncpp.spec b/jsoncpp.spec index e2e9baf..f1048dd 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 -- Gitee