From 54f4e3546bb62f5ad731012fe551a9bf20109113 Mon Sep 17 00:00:00 2001 From: luocheng <1264148725@qq.com> Date: Thu, 26 Aug 2021 09:29:45 -0400 Subject: [PATCH] enable make check to execute the test-suites --- numactl.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/numactl.spec b/numactl.spec index 0100e5e..02463da 100644 --- a/numactl.spec +++ b/numactl.spec @@ -1,6 +1,6 @@ Name: numactl Version: 2.0.13 -Release: 5 +Release: 6 Summary: Library for tuning for Non Uniform Memory Access machines License: GPLv2 URL: https://github.com/numactl/numactl @@ -39,6 +39,11 @@ Development package for numa library calls rm -rf $RPM_BUILD_ROOT %make_install +%check +# test-suites need current-build dynamic libray, +# so we export LD_LIBRARY_PATH for find it. +LD_LIBRARY_PATH=$(pwd)/.libs make check + %ldconfig_scriptlets %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig @@ -69,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/*.3* %changelog +* Thu Aug 26 2021 Chunsheng Luo - 2.0.13-6 +- DESC: enable make check + * Fri Jul 30 2021 chenyanpanHW - 2.0.13-5 - DESC: delete -Sgit from %autosetup, and delete BuildRequires git -- Gitee