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 e2cffd47313397154c661d220162f51fb9d91d5a
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 ec5766a..cef5db3 100644
--- a/python-aws-sam-translator.spec
+++ b/python-aws-sam-translator.spec
@@ -15,7 +15,9 @@ URL:
https://github.com/aws/serverless-application-model
# and tests.
Source0:
%{url}/archive/v%{version}/serverless-application-model-%{version}.tar.gz
-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
@@ -38,12 +40,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}
@@ -87,9 +93,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}