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:31 +02:00
parent edced1a721
commit 83b012e4c6

View File

@ -76,7 +76,7 @@ popd
%{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co] %{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co]
%{python3_sitelib}/%{srcname}/tokenize/*.py %{python3_sitelib}/%{srcname}/tokenize/*.py
%{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co] %{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co]
%{python3_sitelib}/py%{srcname}-%{version}-py?.?.egg-info %{python3_sitelib}/py%{srcname}-%{version}-py%{python3_version}.egg-info
%changelog %changelog