dist: add perl-sigtrap build requires

When building mlnx drivers, needing perl-sigtrap rpm. Otherwise,
it will have errors as below:
Can't locate sigtrap.pm in @INC (you may need to install the sigtrap module)
BEGIN failed--compilation aborted at ./install.pl line 44.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: Yongliang Gao <leonylgao@tencent.com>
This commit is contained in:
Jianping Liu 2024-08-27 16:12:17 +08:00
parent 880dd21ab3
commit d791bba469
1 changed files with 1 additions and 0 deletions

View File

@ -487,6 +487,7 @@ License: GPLv2
BuildRequires: kernel-srpm-macros
BuildRequires: kernel-rpm-macros
BuildRequires: lsof
BuildRequires: perl-sigtrap
%endif
%description -n mlnx-ofed-dist
This package contains all the signed ko files.