From 264be6c3269b145004e361436ae27a6c5d1d6121 Mon Sep 17 00:00:00 2001 From: Accessac Date: Wed, 17 Apr 2024 19:50:11 +0800 Subject: [PATCH] Use the %{python3_version} macro instead of '?.?' to adapt to Python3.11 --- pyOpenSSL.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyOpenSSL.spec b/pyOpenSSL.spec index 6140e8b..d205460 100644 --- a/pyOpenSSL.spec +++ b/pyOpenSSL.spec @@ -1,6 +1,6 @@ Name: pyOpenSSL Version: 20.0.1 -Release: 1 +Release: 2 Summary: A rather thin wrapper around (a subset of) the OpenSSL library. License: ASL 2.0 @@ -51,13 +51,16 @@ make -C doc html SPHINXBUILD=sphinx-build-3 %files -n python3-%{name} %license LICENSE %{python3_sitelib}/OpenSSL/ -%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info %files help %license LICENSE %doc CHANGELOG.rst doc/_build/html %changelog +* Wed Apr 17 2024 OpenStack_SIG - 20.0.1-2 +- Use the %{python3_version} macro instead of '?.?' to adapt to Python3.11 + * Tue Feb 02 2021 wuchaochao - 20.0.1-1 - Update package version -- Gitee