!5 修复因缺少依赖导致编译失败问题

From: @wu-leilei
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-06-16 09:14:21 +00:00 committed by Gitee
commit a135cda6d2

View File

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