add check

This commit is contained in:
19909236985 2022-04-07 10:48:23 +08:00
parent 433221a121
commit 3c3f03d247

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
@ -69,6 +69,9 @@ 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