From 1b14aae3424fb0236f88ab80be3286553be94284 Mon Sep 17 00:00:00 2001 From: Pavel Simovec Date: Thu, 9 May 2024 10:40:15 +0200 Subject: [PATCH] Build without pythran in RHEL by default --- scipy.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scipy.spec b/scipy.spec index 7c999f1..b23aed8 100644 --- a/scipy.spec +++ b/scipy.spec @@ -4,7 +4,11 @@ # 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. +%if 0%{?rhel} +%bcond_with pythran +%else %bcond_without pythran +%endif # The code is not safe to build with LTO %global _lto_cflags %{nil} @@ -30,7 +34,7 @@ Summary: Scientific Tools for Python Name: scipy Version: 1.11.3 -Release: 8%{?dist} +Release: 9%{?dist} # BSD-3-Clause -- whole package except: # BSD-2-Clause -- scipy/_lib/_pep440.py @@ -301,6 +305,9 @@ popd %endif %changelog +* Thu May 02 2024 Pavel Simovec - 1.11.3-9 +- Build without pythran in RHEL by default + * Wed Apr 17 2024 Benjamin A. Beasley - 1.11.3-8 - Allow building with meson-python 0.16 - Allow building with pybind11 2.12