- Don't use ifarch and ifnarch in noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=45
This commit is contained in:
parent
3ab27e9524
commit
c86dfc33b1
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-librosa
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -104,7 +104,8 @@ donttest="test_display"
|
||||
# fails with current Tumbleweed
|
||||
donttest+=" or test_pyin_multi_center"
|
||||
# Overflow on 32-bit
|
||||
%ifnarch x86_64 aarch64 ppc64le
|
||||
# can not use "ifarch" when BuildArch is set to noarch
|
||||
%if "%_arch" != "x86_64" && "%_arch" != "aarch64" && "%_arch" != "ppc64le"
|
||||
donttest+=" or test_tempo or test_hybrid_cqt or test_stft_winsizes"
|
||||
donttest+=" or test_istft_reconstruction or test_trim"
|
||||
donttest+=" or test_multichannel"
|
||||
@ -119,13 +120,13 @@ donttest+=" or (test_nnls_multiblock and 256)"
|
||||
donttest+=" or (test_rms and (4096 or 4097))"
|
||||
donttest+=" or test_tonnetz_audio"
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
%if "%_arch" == "aarch64"
|
||||
donttest+=" or test_piptrack_errors"
|
||||
donttest+=" or test_match_events_onesided"
|
||||
donttest+=" or test_yin"
|
||||
donttest+=" or test_yin_tone"
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
%if "%_arch" == "ppc64le"
|
||||
donttest+=" or test_cqt"
|
||||
%endif
|
||||
# Flaky segfaults when run in parallel, upstream does not test with xdist
|
||||
|
Loading…
Reference in New Issue
Block a user