!3 解决python-certbot失败 errors: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:10:10 +00:00 committed by Gitee
commit 86d6ae071f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
%define debug_package %{nil}
Name: python-certbot
Version: 1.16.0
Release: 2
Release: 3
Summary: ACME client
License: Apache License 2.0
URL: https://github.com/certbot/certbot
@ -86,7 +86,7 @@ mv %{buildroot}/doclist.lst .
%files -n python3-certbot
%dir %{python3_sitelib}/*
%{python3_sitelib}/certbot
%{python3_sitelib}/certbot-%{version}-py?.?.egg-info
%{python3_sitelib}/certbot-%{version}-py%{python3_version}.egg-info
%{_bindir}/certbot
%files help -f doclist.lst
@ -95,9 +95,12 @@ mv %{buildroot}/doclist.lst .
%files -n python3-acme
%dir %{python3_sitelib}/*
%{python3_sitelib}/acme
%{python3_sitelib}/acme-%{version}-py?.?.egg-info
%{python3_sitelib}/acme-%{version}-py%{python3_version}.egg-info
%changelog
* Fri May 06 2022 yangping <yangping69@h-partners.com> - 1.16.0-3
- Fix build error caused by py3.10+ wildcard
* Thu Aug 05 2021 xu_ping <xuping33@huawei.com> - 1.16.0-2
- fix sync code to openEuler-20.03-LTS-SP1 %file error.