!29 Modify the patching method

From: @wk333 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-02-27 09:02:48 +00:00 committed by Gitee
commit fb8ebb00d8
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
Name: python-importlib-metadata
Version: 4.12.0
Release: 1
Release: 2
Summary: Read metadata from Python packages
License: Apache-2.0
URL: https://github.com/python/importlib_metadata
@ -48,8 +48,7 @@ Summary: Development documents and examples for importlib-metadata
importlib_metadata is a library which provides an API for accessing an installed packages metadata (see PEP 566), such as its entry points or its top-level name.
%prep
%autosetup -n importlib_metadata-%{version}
%patch0
%autosetup -n importlib_metadata-%{version} -p1
%build
%py3_build
@ -89,6 +88,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Mon Feb 27 2023 wangkai <wangkai385@h-partners.com> - 4.12.0-2
- Modify the patching method
* Sat Sep 24 2022 guozhengxin <guozhengxin@kylinos.cn> - 4.12.0-1
- Upgrade package to version 4.12.0