sync from 22.03

This commit is contained in:
wk333 2022-08-02 10:24:59 +08:00
parent 4568685a3f
commit 0845a215a7

View File

@ -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 <shangyibin1@huawei.com> - 1.9.5-1
* Mon Jan 10 2022 shixuantong <shixuantong@huawei.com> - 1.9.5-3
- Delete so files of lower versions
* Wed Jan 05 2022 shangyibin <shangyibin1@huawei.com> - 1.9.5-2
- copy the .so file of the old version.
* Wed Dec 22 2021 shangyibin <shangyibin1@huawei.com> - 1.9.5-1
- upgrade version to 1.9.5
* Wed Feb 3 2021 liudabo <liudabo1@huawei.com> - 1.9.4-1