From 94eabfe23d0dbc50fe82280f52fd5918a3a102ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:36 +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-portend.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index fa4967f..b5ddd32 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -80,7 +80,7 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %doc README.rst %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{pypi_name}.py -%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %if 0%{?with_docs} %files -n python-%{pypi_name}-doc