From d0ec83d5c0e6b63243e7095782c0d2117924530b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imovec?= Date: Tue, 21 Feb 2023 10:22:50 +0100 Subject: [PATCH] get rid of %ifarch a||b --- scipy.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scipy.spec b/scipy.spec index 099e036..2f7df35 100644 --- a/scipy.spec +++ b/scipy.spec @@ -4,7 +4,7 @@ # Pythran is an optional build dependency. # When used, it makes some modules faster, # but it is usually not available soon enough for new major Python versions. -%ifarch i686 || armv7hl +%ifarch i686 armv7hl # It seems pythran is broken on 32-bit arches, disable it %bcond_with pythran %else @@ -167,7 +167,7 @@ not test_banded_ode_solvers and \ not test_examples[True-complex64]" export PYTEST_ADDOPTS="-k '$SKIP_ALL'" # TestConstructUtils::test_concatenate_int32_overflow is flaky on aarch64 -%ifarch aarch64 || ppc64le +%ifarch aarch64 ppc64le # https://bugzilla.redhat.com/show_bug.cgi?id=1959353 export PYTEST_ADDOPTS="-k '$SKIP_ALL and \ not test_solve_discrete_are and \ @@ -197,7 +197,7 @@ export PYTEST_ADDOPTS="-k '$SKIP_ALL and \ not test_sygst'" %endif -%ifarch i686 || armv7hl +%ifarch i686 armv7hl # skip also test_cython_api: https://bugzilla.redhat.com/show_bug.cgi?id=2068496 # https://github.com/scipy/scipy/issues/17213 export PYTEST_ADDOPTS="-k '$SKIP_ALL and \