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:
parent
b82d9021e6
commit
a03aff77d5
@ -72,7 +72,7 @@ rm -rf _build/html/.{doctrees,buildinfo}
|
||||
%{_bindir}/%{pypi_name}
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
%{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
|
||||
%doc docs/_build/html
|
||||
|
Loading…
Reference in New Issue
Block a user