!9 Remove old version so
From: @weiwei_150212 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
ec752f7627
12
jsoncpp.spec
12
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
|
||||
* 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
|
||||
- Type:update
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user