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:22 +02:00
parent 495e087f41
commit 0ec1e44f5b
1 changed files with 2 additions and 2 deletions

View File

@ -211,8 +211,8 @@ find %{buildroot} -name '.packlist' -delete
%files -n python3-prelude
%{python3_sitearch}/_prelude.*so
%{python3_sitearch}/__pycache__/prelude.cpython-??.*pyc
%{python3_sitearch}/prelude-%{version}-py?.?.egg-info
%{python3_sitearch}/__pycache__/prelude.cpython-%{python3_version_nodots}.*pyc
%{python3_sitearch}/prelude-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/prelude.py
%files -n perl-prelude