From c3f908998eb22f5919baee4fb8b807989dd9de89 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Oct 27 2020 15:08:46 +0000 Subject: Replace Python version glob with macro (needed for Python 3.10+) --- diff --git a/python-pylatex.spec b/python-pylatex.spec index 1a1c90a..a901d74 100644 --- a/python-pylatex.spec +++ b/python-pylatex.spec @@ -172,7 +172,7 @@ popd %files -n python3-%{pypi_name} %license LICENSE %doc README.rst -%{python3_sitelib}/%{fancy_name}-%{version}-py3.?.egg-info +%{python3_sitelib}/%{fancy_name}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{pypi_name} %if %{with docs}