From edc1c3505b03cf1ab38e284ae341a8670cf153e9 Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Thu, 31 Jul 2025 10:10:18 +0200 Subject: [PATCH] Backport PyBind11 3.x compatibility patch Fix rhbz#2383231 --- .gitignore | 1 + sources | 1 + xtensor-python.spec | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index a7e0e85..154b264 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /xtensor-python-0.23.1.tar.gz /xtensor-python-0.24.1.tar.gz /xtensor-python-0.26.0.tar.gz +/324.diff diff --git a/sources b/sources index 44c806e..4963f36 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136 SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89 diff --git a/xtensor-python.spec b/xtensor-python.spec index fe47c52..8df333b 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -10,6 +10,7 @@ URL: https://xtensor-python.readthedocs.io/ %global github https://github.com/QuantStack/xtensor-python Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: %{github}/pull/324.diff # because xtensor does so for armv7hl, ppc64le and s390x ExcludeArch: armv7hl ppc64le s390x