forked from pool/python-astunparse
- need to turn off noarch to be able to skip tests on 32bit arches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astunparse?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 17 10:59:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user