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:23 +02:00
parent 5333a68ddf
commit 325e49aecb
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ chmod +x %{buildroot}%{_datadir}/%{name}/classic/mysql2sqlite.sh
%files -n python3-preludedb
%{python3_sitearch}/_preludedb.*so
%{python3_sitearch}/__pycache__/preludedb.cpython-??.*pyc
%{python3_sitearch}/preludedb-%{version}-py?.?.egg-info
%{python3_sitearch}/__pycache__/preludedb.cpython-%{python3_version_nodots}.*pyc
%{python3_sitearch}/preludedb-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/preludedb.py
%files -n preludedb-mysql