!17 [sync] PR-15: move json-c
From: @openeuler-sync-bot Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
98a59c7231
10
json-c.spec
10
json-c.spec
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
Name: json-c
|
Name: json-c
|
||||||
Version: 0.15
|
Version: 0.15
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: JSON implementation in C
|
Summary: JSON implementation in C
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/%{name}/%{name}
|
URL: https://github.com/%{name}/%{name}
|
||||||
Source0: %{url}/archive/%{name}-%{version}-%{reldate}.tar.gz
|
Source0: %{url}/archive/%{name}-%{version}-%{reldate}.tar.gz
|
||||||
|
|
||||||
BuildRequires: cmake gcc ninja-build json-c
|
BuildRequires: cmake gcc ninja-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
JSON-C implements a reference counting object model that allows you
|
JSON-C implements a reference counting object model that allows you
|
||||||
@ -73,8 +73,6 @@ doxygen -s -u doc/Doxyfile.in
|
|||||||
#%cmake_install
|
#%cmake_install
|
||||||
DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}"
|
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}
|
mkdir -p %{buildroot}%{_pkgdocdir}
|
||||||
hardlink -cfv %{buildroot}%{_pkgdocdir}
|
hardlink -cfv %{buildroot}%{_pkgdocdir}
|
||||||
@ -84,7 +82,6 @@ hardlink -cfv %{buildroot}%{_pkgdocdir}
|
|||||||
%files
|
%files
|
||||||
%license AUTHORS COPYING
|
%license AUTHORS COPYING
|
||||||
%{_libdir}/lib%{name}.so.%{so_ver}*
|
%{_libdir}/lib%{name}.so.%{so_ver}*
|
||||||
%{_libdir}/libjson-c.so.4*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/%{name}/
|
%{_includedir}/%{name}/
|
||||||
@ -96,6 +93,9 @@ hardlink -cfv %{buildroot}%{_pkgdocdir}
|
|||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 25 2022 wuchaochao <cyanrose@yeah.net> - 0.15-2
|
||||||
|
- move json-c
|
||||||
|
|
||||||
* Tue Sep 14 2021 hanhui <hanhui15@huawei.com> - 0.15-1
|
* Tue Sep 14 2021 hanhui <hanhui15@huawei.com> - 0.15-1
|
||||||
- update to 0.15
|
- update to 0.15
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user