From a8c98cddeee5fe08a261c6343027caa37d8f2842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:43 +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 --- pyxattr.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyxattr.spec b/pyxattr.spec index 40946e8..83e2df3 100644 --- a/pyxattr.spec +++ b/pyxattr.spec @@ -46,7 +46,7 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH python3 -m pytest test %files -n python3-%{name} -%{python3_sitearch}/xattr.cpython-??* +%{python3_sitearch}/xattr.cpython-%{python3_version_nodots}* %{python3_sitearch}/*egg-info %license COPYING %doc NEWS README.md