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:
Miro Hrončok 2022-06-21 14:24:16 +02:00
parent e5fb6d4070
commit f11fa01adb
1 changed files with 2 additions and 0 deletions

View File

@ -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