!30 [sync] PR-29: delete old so files

From: @openeuler-sync-bot 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2022-08-30 07:58:31 +00:00 committed by Gitee
commit 78bf5bcaba
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,14 +6,14 @@
Name: json-c
Version: 0.15
Release: 2
Release: 3
Summary: JSON implementation in C
License: MIT
URL: https://github.com/%{name}/%{name}
Source0: %{url}/archive/%{name}-%{version}-%{reldate}.tar.gz
BuildRequires: cmake gcc ninja-build json-c
BuildRequires: cmake gcc ninja-build
Patch6000: backport-json-escape-str-avoid-harmless-unsigned-integer-overflow.patch
@ -75,8 +75,6 @@ doxygen -s -u doc/Doxyfile.in
#%cmake_install
DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}"
cp -a %{_libdir}/libjson-c.so.4 $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libjson-c.so.4.0.0 $RPM_BUILD_ROOT%{_libdir}
mkdir -p %{buildroot}%{_pkgdocdir}
hardlink -cfv %{buildroot}%{_pkgdocdir}
@ -86,7 +84,6 @@ hardlink -cfv %{buildroot}%{_pkgdocdir}
%files
%license AUTHORS COPYING
%{_libdir}/lib%{name}.so.%{so_ver}*
%{_libdir}/libjson-c.so.4*
%files devel
%{_includedir}/%{name}/
@ -98,6 +95,9 @@ hardlink -cfv %{buildroot}%{_pkgdocdir}
%doc %{_pkgdocdir}
%changelog
* Tue Aug 30 2022 zhouwenpei <zhouwenpei1@h-partners> - 0.15-3
- delete old so files
* Mon May 9 2022 wuchaochao <cyanrose@yeah.net> - 0.15-2
- add backport-json-escape-str-avoid-harmless-unsigned-integer-overflow.patch