Unbundle pybind11 to fix FTBFS with Python 3.11
Fedora's pybind11 is already fixed. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2099182
This commit is contained in:
parent
e5fb6d4070
commit
f11fa01adb
2
uhd.spec
2
uhd.spec
|
@ -53,6 +53,7 @@ BuildRequires: wireshark-devel
|
|||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: gnutls-devel
|
||||
%endif
|
||||
BuildRequires: pybind11-devel
|
||||
BuildRequires: python3-mako
|
||||
BuildRequires: python3-requests
|
||||
BuildRequires: python3-devel
|
||||
|
@ -146,6 +147,7 @@ popd
|
|||
|
||||
pushd host
|
||||
%cmake %{?have_neon} -DPYTHON_EXECUTABLE="%{__python3}" \
|
||||
-DPYBIND11_INCLUDE_DIR="/usr/include/pybind11/" \
|
||||
-DUHD_VERSION="%{version}" \
|
||||
-DENABLE_TESTS=off ../
|
||||
%cmake_build
|
||||
|
|
Loading…
Reference in New Issue