From 77897652157732bee286a334a2409bfc5911eee4 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 22 Mar 2021 18:30:55 -0400 Subject: [PATCH] =?UTF-8?q?Replace=20=E2=80=9C%if=20%{=5F=5Fisa=5Fbits}=20?= =?UTF-8?q?!=3D=2032=E2=80=9D,=20which=20causes=20errors=20in=20koji,=20wi?= =?UTF-8?q?th=20=E2=80=9C%ifarch=20%{ix86}=20%{arm32}=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grpc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grpc.spec b/grpc.spec index 94402ea..c3ed96d 100644 --- a/grpc.spec +++ b/grpc.spec @@ -536,7 +536,7 @@ sed -r -i "s/^([[:blank:]]*)(def test_concurrent_stream_stream)\\b/\ \\1@unittest.skip('May hang unexplainedly')\\n\\1\\2/" \ 'src/python/grpcio_tests/tests/testing/_client_test.py' %endif -%if %{__isa_bits} == 32 +%ifarch %{ix86} %{arm32} # These tests fail with: # OverflowError: Python int too large to convert to C ssize_t # TODO figure out how to report this upstream in a useful/actionable way @@ -560,7 +560,7 @@ sed -r -i \ "s/^([[:blank:]]*)(def test(Secure(No|Client)Cert|SessionResumption))\\b/\ \\1@unittest.skip('Invalid cert chain file')\\n\\1\\2/" \ 'src/python/grpcio_tests/tests/unit/_auth_context_test.py' -%if %{__isa_bits} != 32 +%ifarch %{ix86} %{arm32} # (otherwise this was already done above) sed -r -i \ "s/^([[:blank:]]*)(def testSSLSessionCacheLRU)\\b/\