From 7aede4377c3503f74ca0dd1c8fb47bc94fa5656a Mon Sep 17 00:00:00 2001 From: Accessac Date: Wed, 17 Apr 2024 19:35:46 +0800 Subject: [PATCH] Use the %{python3_version} macro instead of '?.?' to adapt to Python3.11 (cherry picked from commit dcf7952623309f84104b93dc0c64f4e0e5f1eea6) --- python-wcwidth.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-wcwidth.spec b/python-wcwidth.spec index ffebf41..4085e5b 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -1,6 +1,6 @@ Name: python-wcwidth Version: 0.2.5 -Release: 1 +Release: 2 Summary: A Python library that measures the width of unicode strings rendered to a terminal License: MIT URL: https://github.com/jquast/wcwidth @@ -44,9 +44,12 @@ string is expected to occupy. %files -n python3-wcwidth %doc README.rst LICENSE %{python3_sitelib}/wcwidth -%{python3_sitelib}/wcwidth-%{version}-py?.?.egg-info +%{python3_sitelib}/wcwidth-%{version}-py%{python3_version}.egg-info %changelog +* Wed Apr 17 2024 OpenStack_SIG - 0.2.5-2 +- Use the %{python3_version} macro instead of '?.?' to adapt to Python3.11 + * Mon Feb 1 2021 wutao - 0.2.5-1 - upgrade to 0.2.5 -- Gitee