Fix: tools just need %{name}, do not care it's architecture.

Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
This commit is contained in:
Jia Chao 2023-05-30 15:40:05 +08:00
parent 453858778d
commit d3a6b67e14

View File

@ -4,7 +4,7 @@
Name: spdk
Version: 21.01.1
Release: 13
Release: 14
Summary: Set of libraries and utilities for high performance user-mode storage
License: BSD and MIT
URL: http://spdk.io
@ -104,9 +104,9 @@ developing applications with the Storage Performance Development Kit.
%package tools
Summary: Storage Performance Development Kit tools files
%if "%{use_python2}" == "0"
Requires: %{name}%{?_isa} = %{package_version} python3 python3-configshell python3-pexpect
Requires: %{name} = %{package_version} python3 python3-configshell python3-pexpect
%else
Requires: %{name}%{?_isa} = %{package_version} python python-configshell pexpect
Requires: %{name} = %{package_version} python python-configshell pexpect
%endif
BuildArch: noarch
@ -224,6 +224,9 @@ mv doc/output/html/ %{install_docdir}
%changelog
* Tue May 30 2023 Jia Chao <jiac13@chinaunicom.cn> - 21.01.1-14
- Fix: tools do not need require %{?_isa} package for it's noarch.
* Wed Mar 15 2023 tongkunkun <tongkunkun_yewu@cmss.chinamobile.com>- 21.01.1-13
- backport upstream patches