From 0845a215a74b392d2492cdcfec1afe25c3aca706 Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Tue, 2 Aug 2022 10:24:59 +0800 Subject: [PATCH] sync from 22.03 --- jsoncpp.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/jsoncpp.spec b/jsoncpp.spec index 6e8a7e1..d432321 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -1,6 +1,6 @@ Name: jsoncpp Version: 1.9.5 -Release: 1 +Release: 3 Summary: JSON C++ library License: Public Domain or MIT URL: https://github.com/open-source-parsers/jsoncpp @@ -61,6 +61,9 @@ chmod 644 %{buildroot}%{_docdir}/%{name}/html/*.{html,png} touch %{buildroot}%{_docdir}/%{name}/html hardlink -cfv %{buildroot}%{_docdir}/%{name} +# When the .so file name changes during version upgrade, you need to copy the lower version of .so file +# cp -a %{_libdir}/libjsoncpp.so.* $RPM_BUILD_ROOT%{_libdir} + %check %make_build -C %{_vpath_builddir} jsoncpp_check @@ -88,7 +91,13 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name} %changelog -* Fri Nov 19 2021 shangyibin - 1.9.5-1 +* Mon Jan 10 2022 shixuantong - 1.9.5-3 +- Delete so files of lower versions + +* 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 * Wed Feb 3 2021 liudabo - 1.9.4-1 -- Gitee