From 151d766b2d3f1fd48e01d22548892a5714976f13 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Feb 11 2024 18:33:12 +0000 Subject: Further refine allowed platforms for pcp2arrow --- diff --git a/pcp.spec b/pcp.spec index 3bfd445..765aae5 100644 --- a/pcp.spec +++ b/pcp.spec @@ -203,15 +203,9 @@ ExcludeArch: %{ix86} %global disable_noarch 1 %endif -# build pcp2arrow whenever possible (no RHEL or 32 bit x86 Fedora python3-arrow) -# NB: lack of 32 bit x86 means we cannot build on x86_64 too, build fails with: -# "noarch package built differently on different architectures" (*sigh*) -%if 0%{?fedora} >= 36 -%ifarch %{ix86} x86_64 -%global disable_arrow 1 -%else +# build pcp2arrow (no python3-arrow on RHEL or 32-bit Fedora) +%if 0%{?fedora} >= 40 %global disable_arrow 0 -%endif %else %global disable_arrow 1 %endif