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
Version: 0.15
Release: 2
Release: 3
Summary: JSON implementation in C
License: MIT
@ -69,6 +69,9 @@ doxygen -s -u doc/Doxyfile.in
%__cmake --build "%{_vpath_builddir}" %{?_smp_mflags} --verbose --target all doc
#%cmake_build
%check
%ninja_test -C %{_vpath_builddir}
%install
#%cmake_install
DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}"
@ -93,6 +96,9 @@ hardlink -cfv %{buildroot}%{_pkgdocdir}
%doc %{_pkgdocdir}
%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
- move json-c