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:39 +02:00
parent d0f465d7bf
commit f21f233120

View File

@ -83,7 +83,7 @@ rm -r %{buildroot}/%{_docdir}/%{pypi_name}/
%{python3_sitearch}/%{pypi_name}.py
%{python3_sitearch}/_%{pypi_name}.cpython*
%{python3_sitearch}/__pycache__/rjsmin.*
%{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%files docs
%doc README.rst docs