Only do %check on x86_64

Since it's checking abi against the local builds in the repo, which came
from my laptop, it'll only match 64-bit builds, and may be even more arch
specific than that.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2017-09-12 10:21:48 -04:00
parent 5536c3dba1
commit d38bd3df44

View File

@ -3,7 +3,7 @@ Version: 32
Release: 1%{?dist}
Summary: Tools to manage UEFI variables
License: LGPLv2.1
URL: https://github.com/rhinstaller/efivar
URL: https://github.com/rhboot/efivar
Requires: %{name}-libs = %{version}-%{release}
ExclusiveArch: %{ix86} x86_64 aarch64
@ -48,7 +48,9 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%check
%ifarch x86_64
make abicheck
%endif
%post libs -p /sbin/ldconfig