From c5884991767416b94d4528ba3b098b2c9428440d Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 13 2020 19:04:27 +0000 Subject: Replace Python version glob with macro (needed for Python 3.10+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/ Co-authored-by: Tomas Hrnciar --- diff --git a/pybind11.spec b/pybind11.spec index 430ca4e..cf1a500 100644 --- a/pybind11.spec +++ b/pybind11.spec @@ -173,7 +173,7 @@ PYBIND11_USE_CMAKE=true %py3_install "--install-purelib" "%{python3_sitearch}" %if %{python3_enabled} %files -n python3-%{name} %{python3_sitearch}/%{name}/ -%{python3_sitearch}/%{name}-%{version}-py?.?.egg-info +%{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info %endif %changelog