diff --git a/json-c.spec b/json-c.spec index 3999152ea1296515c980ed917f97ba95a829bc9e..345f3feb831fc8d88d4ce44dd35821aa3aedbb5c 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