Build without pythran in RHEL by default

This commit is contained in:
Pavel Simovec 2024-05-09 10:40:15 +02:00
parent a9212d458d
commit 1b14aae342

View File

@ -4,7 +4,11 @@
# Pythran is an optional build dependency. # Pythran is an optional build dependency.
# When used, it makes some modules faster, # When used, it makes some modules faster,
# but it is usually not available soon enough for new major Python versions. # but it is usually not available soon enough for new major Python versions.
%if 0%{?rhel}
%bcond_with pythran
%else
%bcond_without pythran %bcond_without pythran
%endif
# The code is not safe to build with LTO # The code is not safe to build with LTO
%global _lto_cflags %{nil} %global _lto_cflags %{nil}
@ -30,7 +34,7 @@
Summary: Scientific Tools for Python Summary: Scientific Tools for Python
Name: scipy Name: scipy
Version: 1.11.3 Version: 1.11.3
Release: 8%{?dist} Release: 9%{?dist}
# BSD-3-Clause -- whole package except: # BSD-3-Clause -- whole package except:
# BSD-2-Clause -- scipy/_lib/_pep440.py # BSD-2-Clause -- scipy/_lib/_pep440.py
@ -301,6 +305,9 @@ popd
%endif %endif
%changelog %changelog
* Thu May 02 2024 Pavel Simovec <psimovec@redhat.com> - 1.11.3-9
- Build without pythran in RHEL by default
* Wed Apr 17 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.11.3-8 * Wed Apr 17 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.11.3-8
- Allow building with meson-python 0.16 - Allow building with meson-python 0.16
- Allow building with pybind11 2.12 - Allow building with pybind11 2.12