diff --git a/python-astunparse.changes b/python-astunparse.changes index abbba69..9d85966 100644 --- a/python-astunparse.changes +++ b/python-astunparse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 17 10:59:59 UTC 2023 - Dirk Müller + +- need to turn off noarch to be able to skip tests on 32bit arches + ------------------------------------------------------------------- Thu Feb 16 22:39:53 UTC 2023 - Dirk Müller diff --git a/python-astunparse.spec b/python-astunparse.spec index 47874d4..ebf20d0 100644 --- a/python-astunparse.spec +++ b/python-astunparse.spec @@ -36,7 +36,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.6.1 Requires: python-wheel >= 0.23.0 -BuildArch: noarch %python_subpackages %description @@ -62,11 +61,9 @@ Added to this is a pretty-printing dump utility function. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%check -%ifarch %ix86 %arm32 # fails to parse the 32bit stdlib -%pyunittest discover -v || : -%else +%if "%_lib" == "lib64" +%check %pyunittest discover -v %endif