diff --git a/python-tpm2-pytss.spec b/python-tpm2-pytss.spec index cb6c59f..c79eb7b 100644 --- a/python-tpm2-pytss.spec +++ b/python-tpm2-pytss.spec @@ -23,10 +23,7 @@ BuildRequires: python3-pytest-xdist BuildRequires: tpm2-tss-devel >= 2.0.0 BuildRequires: gcc # for tests -%%ifarch i686 -%else BuildRequires: swtpm -%endif BuildRequires: tpm2-tools %global _description %{expand: @@ -69,10 +66,7 @@ Summary: %{summary} # this test does not work for some reason on the s390x as it times out %global testargs -k "not test_spi_helper_good" %endif -%%ifarch i686 -%else %pytest --import-mode=append %{?!rhel:-n 1} %{?testargs} -%endif %files -n python3-%{pypi_name} -f %{pyproject_files}