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 fd15c945e3
commit ea6be8f179

View File

@ -62,8 +62,8 @@ PYTHONPATH=$(echo build/lib) py.test-%{python3_version} _test/test_*.py
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python3_sitelib}/ruamel %{python3_sitelib}/ruamel
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?-*.pth %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}-*.pth
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog %changelog
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.16.6-3 * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.16.6-3