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