!10 Rectify the patching mode to solve the installation of b/__pycache__ unnecessary files

From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-02-27 06:26:13 +00:00 committed by Gitee
commit 25e0f08ab2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-importlib-resources Name: python-importlib-resources
Version: 5.10.1 Version: 5.10.1
Release: 1 Release: 2
Summary: Read resources from Python packages Summary: Read resources from Python packages
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/python/importlib_resources URL: https://github.com/python/importlib_resources
@ -35,8 +35,7 @@ Provides: python3-importlib-resources-doc
Importlib_resources is a backport of Python standard library. Importlib_resources is a backport of Python standard library.
%prep %prep
%autosetup -n importlib_resources-%{version} %autosetup -n importlib_resources-%{version} -p1
%patch0
%build %build
%py3_build %py3_build
@ -79,6 +78,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Feb 27 2023 xu_ping <xuping33@h-partners.com> - 5.10.1-2
- Rectify the patching mode to solve installation of b/__pycache__ unnecessary files.
* Thu Dec 15 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 5.10.1-1 * Thu Dec 15 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 5.10.1-1
- Update package to version 5.10.1 - Update package to version 5.10.1