From a6d0cca725ab7332e8cb47950aaf8601cd2a2581 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 13 2020 19:04:35 +0000 Subject: 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 --- diff --git a/python-numcodecs.spec b/python-numcodecs.spec index 387b7b4..de7803b 100644 --- a/python-numcodecs.spec +++ b/python-numcodecs.spec @@ -86,7 +86,7 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} PYTHONDONTWRITEBYTECODE=1 \ %doc README.rst %license LICENSE %{python3_sitearch}/%{srcname} -%{python3_sitearch}/%{srcname}-%{version}-py?.?.egg-info +%{python3_sitearch}/%{srcname}-%{version}-py%{python3_version}.egg-info %files -n python-%{srcname}-doc %doc html