From c5884991767416b94d4528ba3b098b2c9428440d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:27 +0200 Subject: [PATCH] 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 --- pybind11.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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