diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000..7ad928d --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,25 @@ +From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001 +From: Gzx1999 +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 + diff --git a/importlib_resources-5.4.0.tar.gz b/importlib_resources-5.4.0.tar.gz deleted file mode 100644 index 2acba7a..0000000 Binary files a/importlib_resources-5.4.0.tar.gz and /dev/null differ diff --git a/importlib_resources-5.9.0.tar.gz b/importlib_resources-5.9.0.tar.gz new file mode 100644 index 0000000..dae8313 Binary files /dev/null and b/importlib_resources-5.9.0.tar.gz differ diff --git a/python-importlib-resources.spec b/python-importlib-resources.spec index b116a9a..950f9b5 100644 --- a/python-importlib-resources.spec +++ b/python-importlib-resources.spec @@ -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 - 5.9.0-1 +- Upgrade package to version 5.9.0 + * Thu Jun 16 2022 OpenStack_SIG - 5.4.0-1 - Upgrade version for openstack yoga