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 <thrnciar@redhat.com>
This commit is contained in:
Miro Hrončok 2020-07-13 21:04:27 +02:00
parent 3313a3545a
commit c588499176

View File

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