From be32eb41e1a3c09e5ab60023750aa1d762b2d585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:27 +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 --- python-admesh.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-admesh.spec b/python-admesh.spec index c39ccd0..5d6235a 100644 --- a/python-admesh.spec +++ b/python-admesh.spec @@ -61,7 +61,7 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v \ %doc README.rst %license COPYING %attr(0755,root,root) %{python3_sitearch}/%{pypi_name}.*.so -%{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info +%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog