!5 解决python-h2失败 error:file not foud .... -py?.?.egg-info

From: @penelope_y 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-05-07 06:09:35 +00:00 committed by Gitee
commit d884e13547
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <yangping69@h-partners.com> - 4.0.0-2
- Fix build error caused by py3.10+ wildcard
* Wed Jul 28 2021 liyanan <liyanan32@huawei.com> - 4.0.0-1
- update to 4.0.0