!40 [sync] PR-39: fix build error which occasionally happened

From: @openeuler-sync-bot 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2022-08-08 12:53:45 +00:00 committed by Gitee
commit c672b522e4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: net-snmp
Version: 5.9.1
Release: 1
Release: 2
Epoch: 1
Summary: SNMP Daemon
License: BSD
@ -216,6 +216,7 @@ install -m 644 %SOURCE8 %SOURCE9 %{buildroot}/%{_unitdir}/
%check
%if %{netsnmp_check}
cp -f libtool.orig libtool
rm -vf testing/fulltests/default/T200snmpv2cwalkall_simple
chmod 755 local/passtest
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%endif
@ -325,6 +326,12 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%{_mandir}/man1/fixproc*
%changelog
* Mon Aug 08 2022 gaihuiying <eaglegai@163.com> - 1:5.9.1-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix build error which occasionally happened
* Thu Dec 16 2021 gaihuiying <gaihuiying1@huawei.com> - 5.9.1-1
- Type:requirement
- CVE:NA