From 05ac1996a228c725af8c0b06498b8df89d1117c5 Mon Sep 17 00:00:00 2001 From: jinzhimin369 Date: Mon, 21 Sep 2020 17:27:56 +0800 Subject: [PATCH] Removeoldversionso --- jsoncpp.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/jsoncpp.spec b/jsoncpp.spec index 013df24..df23f8f 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -1,11 +1,11 @@ Name: jsoncpp Version: 1.9.3 -Release: 1 +Release: 2 Summary: JSON C++ library License: Public Domain or MIT URL: https://github.com/open-source-parsers/jsoncpp 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 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} touch %{buildroot}%{_docdir}/%{name}/html hardlink -cfv %{buildroot}%{_docdir}/%{name} -cp -p %{_libdir}/libjsoncpp.so.* %{buildroot}%{_libdir} %check %make_build -C %{_vpath_builddir} jsoncpp_check @@ -75,7 +74,6 @@ cp -p %{_libdir}/libjsoncpp.so.* %{buildroot}%{_libdir} %doc %dir %{_docdir}/%{name} %exclude %{_docdir}/%{name}/html %{_libdir}/lib%{name}.so.* -%{_libdir}/lib%{name}.so.%{version} %files devel %{_libdir}/lib%{name}.so @@ -89,6 +87,12 @@ cp -p %{_libdir}/libjsoncpp.so.* %{buildroot}%{_libdir} %changelog +* Mon Sep 21 2020 tianwei - 1.9.3-2 +- Type:update +- ID:NA +- SUG:NA +- DESC:Remove old version so + * Tue Aug 4 2020 zhangguangzhi - 1.9.3-1 - Type:update - ID:NA -- Gitee