The package rpms/python-aws-sam-translator.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-aws-sam-translator.git/com....
Change:
+%ifarch %{ix86} %{arm32}
Thanks.
Full change:
============
commit 404592a3a383b3efce99661faac03d2f082362e0
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue May 3 09:23:45 2022 -0400
Work around a failing test on 32-bit builders
diff --git a/python-aws-sam-translator.spec b/python-aws-sam-translator.spec
index 404bc11..a04570c 100644
--- a/python-aws-sam-translator.spec
+++ b/python-aws-sam-translator.spec
@@ -23,7 +23,9 @@ Source0:
%{url}/archive/v%{version}/serverless-application-model-%{versio
# do this with sed in %%prep.
Patch0: %{url}/pull/2184.patch
-BuildArch: noarch
+# The base package is arched because we conditionalize tests; the binary
+# packages are all noarch, and there is no compiled code.
+%global debug_package %{nil}
BuildRequires: python3-devel
@@ -46,12 +48,16 @@ serverless applications.}
%package -n python3-aws-sam-translator
Summary: %{summary}
+BuildArch: noarch
+
%description -n python3-aws-sam-translator %{common_description}
%package doc
Summary: Documentation for aws-sam-translator
+BuildArch: noarch
+
%description doc %{common_description}
@@ -95,9 +101,16 @@ sphinx-build -b latex docs %{_vpath_builddir}/_latex
%check
+%ifarch %{ix86} %{arm32}
+# This test only has an expected value for 64-bit platforms. Since we no longer
+# need to support 32-bit platforms, we don’t bother trying to fix it:
+#
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
+#
https://fedoraproject.org/wiki/Changes/RetireARMv7
+k="${k-}${k+ and }not (TestPy27UniStr and test_py27_hash)"
+%endif
# See Makefile target “test”. We cannot run the interaction tests because they
# interact with AWS.
-%pytest
+%pytest -k "${k-}"
%files -n python3-aws-sam-translator -f %{pyproject_files}