!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:
commit
25e0f08ab2
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user