spec: disable x86 build in SP1 version

exclude x86 arch since vmtop is not supported in x86 yet.

Signed-off-by: Jiajun Chen <1250062498@qq.com>
This commit is contained in:
nocjj 2020-11-26 09:27:43 +08:00
parent 5c4be98493
commit 3ccb4c97f3

View File

@ -1,10 +1,11 @@
Name: vmtop
Version: 1.1
Release: 0
Release: 1
Summary: A tool for collecting and analyzing data of virtual machine
License: Mulan PSL V2
Group: Application/System
URL: https://gitee.com/openeuler/vmtop
ExcludeArch: x86_64
Source:https://gitee.com/openeuler/vmtop/repository/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
@ -57,6 +58,9 @@ install -m 550 vmtop ${RPM_BUILD_ROOT}/usr/bin/%{name}
%{_bindir}/vmtop
%changelog
* Thu Nov 26 2020 Jiajun Chen <1250062498@qq.com> -1.1-1
- spec: disable x86 build in SP1 version
* Sat Oct 10 2020 Jiajun Chen <1250062498@qq.com> -1.1-0
- spec: modify source url