delete old so files
(cherry picked from commit 2f6c4dabbf3d44863622c2fd6127fef172ab96ac)
This commit is contained in:
parent
6633b11579
commit
decdb72974
10
json-c.spec
10
json-c.spec
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user