fixed rpmbuild error by set _python use python3

(cherry picked from commit 2efefee4eb7b2394ff7657e62702250feee39ae0)
This commit is contained in:
markeryang 2021-05-21 15:49:22 +08:00 committed by openeuler-sync-bot
parent d91135904d
commit 6fb466b57f

View File

@ -1,9 +1,10 @@
# Build documentation package
%bcond_with doc
%global __python %{__python3}
Name: spdk
Version: 21.01
Release: 2
Release: 3
Summary: Set of libraries and utilities for high performance user-mode storage
License: BSD and MIT
URL: http://spdk.io
@ -169,6 +170,9 @@ mv doc/output/html/ %{install_docdir}
%changelog
* Wed Mar 29 2021 jeffery.Gao <gaojianxing@huawei.com> - 21.01-3
- set __python use python3 to avoid rpm build failed.
* Thu Apr 29 2021 Shihao Sun <sunshihao@huawei.com> - 21.01-2
- use --without-isal to avoid build failed issue in arm
* Thu Feb 4 2021 Shihao Sun <sunshihao@huawei.com> - 21.01-1