From 325e49aecbfda2fae5acb866bbc5dd24036505f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:23 +0200 Subject: [PATCH] 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 --- libpreludedb.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpreludedb.spec b/libpreludedb.spec index 2762778..f025b42 100644 --- a/libpreludedb.spec +++ b/libpreludedb.spec @@ -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