diff --git a/OpenIPMI.spec b/OpenIPMI.spec index c475b0977168d8d5cf2436fa691c6417dc17a150..d2b7c87adf92b8c080465c7b763d86499747eb2f 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -1,6 +1,6 @@ Name: OpenIPMI Version: 2.0.31 -Release: 3 +Release: 4 Summary: IPMI (Intelligent Platform Management Interface) library and tools License: LGPLv2+ and GPLv2+ or BSD URL: https://sourceforge.net/projects/openipmi/ @@ -92,6 +92,12 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %delete_la +%check +#Ensure that the library file in the corresponding directory can be obtained during testcase execution +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 + %post %systemd_post ipmi.service @@ -143,6 +149,12 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %exclude %{_mandir}/man1/openipmigui.1 %changelog +* Tue Nov 21 2023 yanglu - 2.0.31-4 +- Type:enhancement +- CVE:NA +- SUG:NA +- DESC:enable test + * Sat Apr 01 2023 yanglu - 2.0.31-3 - Type:bugfix - CVE:NA