diff --git a/rust.spec b/rust.spec index 3ddb25b..18a6844 100644 --- a/rust.spec +++ b/rust.spec @@ -78,6 +78,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build # Restrict the architectures as building rust relies on being initially # bootstrapped before we can build the n+1 release ExclusiveArch: x86_64 %{arm} aarch64 ppc64 ppc64le s390x +%ifarch %ix86 +ExclusiveArch: i586 i686 +BuildArch: i686 +%endif %if 0%{?suse_version} BuildRequires: fdupes