move json-c
(cherry picked from commit ca53afa2fd1f3897cd22a650e4c0f60af640440c)
This commit is contained in:
parent
e22973a009
commit
4be501c022
@ -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}
|
||||||
@ -96,6 +94,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