From a03aff77d5989b082a2366434d37f06c96291b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:40 +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-smartypants.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-smartypants.spec b/python-smartypants.spec index 84c7aed..91969fa 100644 --- a/python-smartypants.spec +++ b/python-smartypants.spec @@ -72,7 +72,7 @@ rm -rf _build/html/.{doctrees,buildinfo} %{_bindir}/%{pypi_name} %{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 %files -n python-%{pypi_name}-doc %doc docs/_build/html