From 209da7af8a86cd7a6687726f4de109ace78d5b99 Mon Sep 17 00:00:00 2001 From: 19909236985 Date: Thu, 7 Apr 2022 10:48:23 +0800 Subject: [PATCH] add check (cherry picked from commit 3c3f03d24709b0702bbd2df3ff48e068b4421d11) --- json-c.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/json-c.spec b/json-c.spec index 3999152..345f3fe 100644 --- a/json-c.spec +++ b/json-c.spec @@ -6,7 +6,7 @@ Name: json-c Version: 0.15 -Release: 2 +Release: 3 Summary: JSON implementation in C License: MIT @@ -68,7 +68,10 @@ 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 - 0.15-3 +- add check + * Fri Mar 25 2022 wuchaochao - 0.15-2 - move json-c -- Gitee