Fix build error

This commit is contained in:
wu-leilei 2021-06-16 15:25:27 +08:00
parent 4beca77733
commit 79affdf589

View File

@ -1,6 +1,6 @@
Name: libpsm2
Version: 10.3.58
Release: 6
Release: 7
Summary: Intel PSM Libraries
License: BSD or GPLv2
URL: https://github.com/01org/opa-psm2/
@ -11,7 +11,7 @@ Patch0: 0000-extend-fdesc-array.patch
Patch1: fix-stringop-truncation-build-error.patch
ExclusiveArch: x86_64
BuildRequires: libuuid-devel numactl-devel
BuildRequires: libuuid-devel numactl-devel gcc systemd-udev
Obsoletes: hfi1-psm < 1.0.0
%package devel
@ -73,6 +73,9 @@ rm -f %{buildroot}%{_libdir}/*.a
%{_sysconfdir}/modprobe.d/libpsm2-compat.conf
%changelog
* Wed Jun 16 2021 wulei <wulei80@huawei.com> - 10.3.58-6
- Fix build error
* Thu Jul 02 2020 senlin <xiasenlin1@huawei.com> - 10.3.58-6
- Fix stringop-truncation build error