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>
epel9
Miro Hrončok 5 years ago
parent b82d9021e6
commit a03aff77d5

@ -72,7 +72,7 @@ rm -rf _build/html/.{doctrees,buildinfo}
%{_bindir}/%{pypi_name} %{_bindir}/%{pypi_name}
%{python3_sitelib}/__pycache__/* %{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{pypi_name}.py %{python3_sitelib}/%{pypi_name}.py
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%files -n python-%{pypi_name}-doc %files -n python-%{pypi_name}-doc
%doc docs/_build/html %doc docs/_build/html

Loading…
Cancel
Save