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

Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
cherry530 2023-02-27 11:21:13 +08:00
parent ca45575f80
commit e2db259d8e

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-importlib-resources
Version: 5.10.1
Release: 1
Release: 2
Summary: Read resources from Python packages
License: Apache-2.0
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.
%prep
%autosetup -n importlib_resources-%{version}
%patch0
%autosetup -n importlib_resources-%{version} -p1
%build
%py3_build
@ -79,6 +78,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%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
- Update package to version 5.10.1