copy the .so file of the old version.

This commit is contained in:
shangyibin 2022-01-05 16:32:00 +08:00
parent 1bf5fa77c3
commit e874ec0a54

View File

@ -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 <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