From 96619b07f6f3f8a1a4f61298990bd260ec827908 Mon Sep 17 00:00:00 2001 From: yangl777 Date: Tue, 26 Sep 2023 10:17:21 +0800 Subject: [PATCH] enable test --- OpenIPMI.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index b795468..1af1dc5 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -1,6 +1,6 @@ Name: OpenIPMI Version: 2.0.33 -Release: 2 +Release: 3 Summary: IPMI (Intelligent Platform Management Interface) library and tools License: LGPLv2+ and GPLv2+ or BSD URL: https://sourceforge.net/projects/openipmi/ @@ -90,6 +90,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d echo ".so man1/ipmicmd.1" > %{buildroot}%{_mandir}/man1/ipmicmd.1 echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 +%check +sed -i 's#-lgdbm#-lgdbm -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs#g' unix/test_handlers +sed -i 's#-lpthread#-lpthread -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs:\\$progdir/../../unix/.libs#g' lanserv/ipmi_sim +make check + %delete_la %post @@ -142,6 +147,12 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %exclude %{_mandir}/man1/openipmigui.1 %changelog +* Tue Sep 26 2023 yanglu - 2.0.33-3 +- Type:enhancement +- CVE:NA +- SUG:NA +- DESC:enable test + * Sat Apr 01 2023 yanglu - 2.0.33-2 - Type:bugfix - CVE:NA -- Gitee