From d2535ef21920c8e3c1ed8c99bf22880d9a4380d6 Mon Sep 17 00:00:00 2001 From: penelope Date: Fri, 6 May 2022 20:51:36 +0800 Subject: [PATCH] Fix build error caused by py3.10+ wildcard --- python-h2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-h2.spec b/python-h2.spec index 4270675..c413cb7 100644 --- a/python-h2.spec +++ b/python-h2.spec @@ -1,6 +1,6 @@ Name: python-h2 Version: 4.0.0 -Release: 1 +Release: 2 Summary: A HTTP/2 protocol stack for Python License: MIT URL: http://hyper.rtfd.org @@ -65,12 +65,15 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest %files -n python3-h2 %doc README.rst LICENSE %{python3_sitelib}/h2 -%{python3_sitelib}/h2-%{version}-py?.?.egg-info +%{python3_sitelib}/h2-%{version}-py%{python3_version}.egg-info %files help %doc html LICENSE %changelog +* Fri May 06 2022 yangping - 4.0.0-2 +- Fix build error caused by py3.10+ wildcard + * Wed Jul 28 2021 liyanan - 4.0.0-1 - update to 4.0.0