From 43ad73601205f4d74871624ded2a1c632e82c1fd Mon Sep 17 00:00:00 2001 From: Jongmin Lee Date: Thu, 19 Dec 2019 09:59:52 +0900 Subject: [PATCH] build: add %check directive in spec file Usually command or series of commands to "test" the software located under %check directive in spec file. The test will be conducted after installation. Change-Id: I69a1279642723f12b0289f8d16fbeb9f22a6a41e --- packaging/aurum.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/aurum.spec b/packaging/aurum.spec index ad92cb1..0c02148 100644 --- a/packaging/aurum.spec +++ b/packaging/aurum.spec @@ -64,6 +64,8 @@ ninja \ -v \ all +%check + ninja \ -C gbsbuild \ -j %(echo "`/usr/bin/getconf _NPROCESSORS_ONLN`") \ -- 2.7.4