Move ExcludeArch to general part since it doesn't work for subpackage

This commit is contained in:
Stefan Berger 2023-08-15 16:14:36 -04:00
parent 839d88cfff
commit 625100cfeb

View File

@ -17,6 +17,8 @@ License: BSD-3-Clause
Url: http://github.com/stefanberger/swtpm Url: http://github.com/stefanberger/swtpm
Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz
ExcludeArch: i686
BuildRequires: make BuildRequires: make
BuildRequires: git-core BuildRequires: git-core
BuildRequires: automake BuildRequires: automake
@ -80,7 +82,6 @@ Tools for the TPM emulator from the swtpm package
%package tools-pkcs11 %package tools-pkcs11
Summary: Tools for creating a local CA based on a TPM pkcs11 device Summary: Tools for creating a local CA based on a TPM pkcs11 device
License: BSD-3-Clause License: BSD-3-Clause
ExcludeArch: i686
Requires: swtpm-tools = %{version}-%{release} Requires: swtpm-tools = %{version}-%{release}
Requires: tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools tpm2-abrmd Requires: tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools tpm2-abrmd
Requires: expect gnutls-utils %{!?rhel:trousers >= 0.3.9} Requires: expect gnutls-utils %{!?rhel:trousers >= 0.3.9}