Upgrade package to version 5.9.0

This commit is contained in:
Gzx1999 2022-09-25 09:54:13 +08:00
parent 550a884c85
commit 05216fc57a
4 changed files with 35 additions and 7 deletions

25
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,25 @@
From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001
From: Gzx1999 <guozhengxin@kylinos.cn>
Date: Sat, 24 Sep 2022 19:45:06 +0800
Subject: [PATCH] add setup.py
---
setup.py | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..bac24a4
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup()
--
2.25.1

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,17 @@
%global _empty_manifest_terminate_build 0
Name: python-importlib-resources
Version: 5.4.0
Version: 5.9.0
Release: 1
Summary: Read resources from Python packages
License: Apache-2.0
URL: https://github.com/python/importlib_resources
Source0: https://files.pythonhosted.org/packages/b5/d8/51ace1c1ea6609c01c7f46ca2978e11821aa0efaaa7516002ef6df000731/importlib_resources-5.4.0.tar.gz
Source0: https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
%description
Importlib_resources is a backport of Python standard library.
%package -n python3-importlib-resources
Summary: Read resources from Python packages
Provides: python-importlib-resources
@ -21,22 +22,21 @@ BuildRequires: python3-pbr
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
BuildRequires: python3-wheel
Requires: python3-zipp
Requires: python3-sphinx
%description -n python3-importlib-resources
Importlib_resources is a backport of Python standard library.
%package help
Summary: Development documents and examples for importlib-resources
Provides: python3-importlib-resources-doc
%description help
Importlib_resources is a backport of Python standard library.
%prep
%autosetup -n importlib_resources-5.4.0
%autosetup -n importlib_resources-%{version}
%patch0
%build
%py3_build
@ -79,6 +79,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Sun Sep 25 2022 guozhengxin <guozhengxin@kylinos.cn> - 5.9.0-1
- Upgrade package to version 5.9.0
* Thu Jun 16 2022 OpenStack_SIG <openstack@openeuler.org> - 5.4.0-1
- Upgrade version for openstack yoga