Remove old version so
This commit is contained in:
parent
339e5ce49f
commit
342a2f9d41
@ -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,9 @@ cp -p %{_libdir}/libjsoncpp.so.* %{buildroot}%{_libdir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 08 2020 lingsheng<lingsheng@huawei.com> - 1.9.3-2
|
||||
- Remove old version so
|
||||
|
||||
* Fri Jul 31 2020 wenzhanli<wenzhanli2@huawei.com> - 1.9.3-1
|
||||
- Type:NA
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user