From 11f1e7ce31e7e13688ad4cb66e2ef3a4e7a610f2 Mon Sep 17 00:00:00 2001 From: ChenZanYu Date: Thu, 1 Jun 2023 07:42:01 +0000 Subject: [PATCH] Add make check to %check of strace.spec file to solve the problem that there is no make check during rpmbuild Signed-off-by: ChenZanYu --- strace.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/strace.spec b/strace.spec index e70483e..f41b608 100644 --- a/strace.spec +++ b/strace.spec @@ -3,7 +3,7 @@ Summary: Tracks and displays system calls associated with a running process Name: strace Version: 5.6 -Release: 3 +Release: 4 # The test suite is GPLv2+, all the rest is LGPLv2.1+. License: LGPL-2.0+ and GPL-2.0 # Some distros require Group tag to be present, @@ -87,6 +87,9 @@ for f in ChangeLog ChangeLog-CVS; do done wait +%check +make check + %files %maybe_use_defattr %doc CREDITS ChangeLog.gz ChangeLog-CVS.gz COPYING NEWS README @@ -95,6 +98,9 @@ wait %{_mandir}/man1/* %changelog +* Thur June 1 2023 chenzanyu - 5.14-5 +- Resolve rpmbuild does not make check + * Sun Oct 16 2022 Weifeng Su - 5.6-3 - disable the test -- Gitee