Remove old version so

This commit is contained in:
jinzhimin369 2020-09-24 20:24:01 +08:00
parent aea41718af
commit 3872852bb5

View File

@ -1,11 +1,11 @@
Name: jsoncpp Name: jsoncpp
Version: 1.9.3 Version: 1.9.3
Release: 1 Release: 2
Summary: JSON C++ library Summary: JSON C++ library
License: Public Domain or MIT License: Public Domain or MIT
URL: https://github.com/open-source-parsers/jsoncpp URL: https://github.com/open-source-parsers/jsoncpp
Source0: https://github.com/open-source-parsers/jsoncpp/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/open-source-parsers/jsoncpp/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ cmake >= 3.1 python3-devel jsoncpp BuildRequires: gcc-c++ cmake >= 3.1 python3-devel
%description %description
JsonCpp is a C++ library that allows manipulating JSON values, JsonCpp is a C++ library that allows manipulating JSON values,
@ -59,7 +59,6 @@ cp dist/doxygen/*/*.{html,png} %{buildroot}%{_docdir}/%{name}/html
chmod 644 %{buildroot}%{_docdir}/%{name}/html/*.{html,png} chmod 644 %{buildroot}%{_docdir}/%{name}/html/*.{html,png}
touch %{buildroot}%{_docdir}/%{name}/html touch %{buildroot}%{_docdir}/%{name}/html
hardlink -cfv %{buildroot}%{_docdir}/%{name} hardlink -cfv %{buildroot}%{_docdir}/%{name}
cp -p %{_libdir}/libjsoncpp.so.* %{buildroot}%{_libdir}
%check %check
%make_build -C %{_vpath_builddir} jsoncpp_check %make_build -C %{_vpath_builddir} jsoncpp_check
@ -75,7 +74,6 @@ cp -p %{_libdir}/libjsoncpp.so.* %{buildroot}%{_libdir}
%doc %dir %{_docdir}/%{name} %doc %dir %{_docdir}/%{name}
%exclude %{_docdir}/%{name}/html %exclude %{_docdir}/%{name}/html
%{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}.so.*
%{_libdir}/lib%{name}.so.%{version}
%files devel %files devel
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
@ -89,6 +87,12 @@ cp -p %{_libdir}/libjsoncpp.so.* %{buildroot}%{_libdir}
%changelog %changelog
* Thu Sep 24 2020 tianwei<tianwei12@huawei.com> - 1.9.3-2
- Type:update
- ID:NA
- SUG:NA
- DESC:Remove old version so
* Tue Aug 4 2020 zhangguangzhi<zhangguangzhi3@huawei.com> - 1.9.3-1 * Tue Aug 4 2020 zhangguangzhi<zhangguangzhi3@huawei.com> - 1.9.3-1
- Type:update - Type:update
- ID:NA - ID:NA