add check

(cherry picked from commit 3c3f03d24709b0702bbd2df3ff48e068b4421d11)
This commit is contained in:
19909236985 2022-04-07 10:48:23 +08:00 committed by openeuler-sync-bot
parent 98a59c7231
commit 209da7af8a

View File

@ -6,7 +6,7 @@
Name: json-c Name: json-c
Version: 0.15 Version: 0.15
Release: 2 Release: 3
Summary: JSON implementation in C Summary: JSON implementation in C
License: MIT License: MIT
@ -68,7 +68,10 @@ doxygen -s -u doc/Doxyfile.in
%__cmake --build "%{_vpath_builddir}" %{?_smp_mflags} --verbose --target all doc %__cmake --build "%{_vpath_builddir}" %{?_smp_mflags} --verbose --target all doc
#%cmake_build #%cmake_build
%check
%ninja_test -C %{_vpath_builddir}
%install %install
#%cmake_install #%cmake_install
DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}" DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}"
@ -93,6 +96,9 @@ hardlink -cfv %{buildroot}%{_pkgdocdir}
%doc %{_pkgdocdir} %doc %{_pkgdocdir}
%changelog %changelog
* Thu Apr 7 2022 wuchaochao <cyanrose@yeah.net> - 0.15-3
- add check
* Fri Mar 25 2022 wuchaochao <cyanrose@yeah.net> - 0.15-2 * Fri Mar 25 2022 wuchaochao <cyanrose@yeah.net> - 0.15-2
- move json-c - move json-c