From 6d61bbaa310246c23a4972d87a6702b75918c30c Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 17:20:42 +0800 Subject: [PATCH 01/10] fix the packaging error --- python-jsonschema.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 7c123e2..44f8325 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -4,7 +4,7 @@ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/htm Name: python-%{pypi_name} Version: 4.17.3 -Release: 1 +Release: 2 Summary: An implementation of JSON Schema validation for Python License: MIT URL: http://pypi.python.org/pypi/jsonschema @@ -52,12 +52,17 @@ echo "setup(use_scm_version=True)" >> setup.py %files -n python%{python3_pkgversion}-%{pypi_name} %license COPYING +%{_bindir}/jsonschema +%{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/*.egg-info %files help %doc README.rst PKG-INFO %changelog +* Mon Apr 03 2023 zhuofeng - 4.17.3-2 +- fix the packaging error + * Fri Dec 16 2022 lijian - 4.17.3-1 - update to upstream version 4.17.3 -- Gitee From 9adb9539653ac12d2254d976da5156a468e49fb9 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 18:49:20 +0800 Subject: [PATCH 02/10] 1 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 44f8325..be8f98d 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -43,7 +43,7 @@ echo "setup(use_scm_version=True)" >> setup.py %py3_build %install -%py3_install +%py3_install_wheel %if %{without tests} %check -- Gitee From 366e5fef4362f98b17fe416671b13249c3701182 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 19:05:26 +0800 Subject: [PATCH 03/10] 2 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index be8f98d..be4232f 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -43,7 +43,7 @@ echo "setup(use_scm_version=True)" >> setup.py %py3_build %install -%py3_install_wheel +%py3_install_egg %if %{without tests} %check -- Gitee From d30685067707066d1abbad73d9bf1ceb3a915263 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 19:53:14 +0800 Subject: [PATCH 04/10] 3 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index be4232f..1a83aa5 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -43,7 +43,7 @@ echo "setup(use_scm_version=True)" >> setup.py %py3_build %install -%py3_install_egg +pip3 install ./jsonschema %if %{without tests} %check -- Gitee From e94440b7f8b2113c27f0d118763adf6c1219a16f Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 20:12:37 +0800 Subject: [PATCH 05/10] 4 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 1a83aa5..5ecedbc 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -11,7 +11,7 @@ URL: http://pypi.python.org/pypi/jsonschema Source0: https://files.pythonhosted.org/packages/36/3d/ca032d5ac064dff543aa13c984737795ac81abc9fb130cd2fcff17cfabc7/jsonschema-4.17.3.tar.gz BuildArch: noarch -BuildRequires: python3-devel python3-setuptools python3-setuptools_scm +BuildRequires: python3-devel python3-setuptools python3-setuptools_scm python3-pip # test requirements %bcond_without tests -- Gitee From 0bda39dcdf1bff84f0a25ced02a2ce5fb54758c1 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 20:18:38 +0800 Subject: [PATCH 06/10] 5 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 5ecedbc..67bb995 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -43,7 +43,7 @@ echo "setup(use_scm_version=True)" >> setup.py %py3_build %install -pip3 install ./jsonschema +pip3 install . %if %{without tests} %check -- Gitee From 66440c294b424c824a66d0a1f85437755bbdd262 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 20:27:51 +0800 Subject: [PATCH 07/10] 6 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 67bb995..2a61b9c 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -43,7 +43,7 @@ echo "setup(use_scm_version=True)" >> setup.py %py3_build %install -pip3 install . +%py3_install_wheel %if %{without tests} %check -- Gitee From 8e4f417d71a545e42285f4c89e15296f9795fcf5 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 21:11:56 +0800 Subject: [PATCH 08/10] 7 --- python-jsonschema.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 2a61b9c..48ac6c4 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,4 +1,5 @@ %global pypi_name jsonschema +%global python3_wheelname %{pypi_name}-*-py3-none-any.whl %global _description \ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/html/draft-zyp-json-schema-03 @@ -43,7 +44,7 @@ echo "setup(use_scm_version=True)" >> setup.py %py3_build %install -%py3_install_wheel +%py3_install_wheel %{python3_wheelname} %if %{without tests} %check -- Gitee From 00897a0a4dbecf9402281095e05a453d8cd9da45 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 3 Apr 2023 21:19:04 +0800 Subject: [PATCH 09/10] 9 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 48ac6c4..f0943ce 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,5 +1,5 @@ %global pypi_name jsonschema -%global python3_wheelname %{pypi_name}-*-py3-none-any.whl +%global python3_wheelname %global _description \ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/html/draft-zyp-json-schema-03 -- Gitee From 7347bdddc702e0d3c0082ba40723d8210891c15b Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Tue, 4 Apr 2023 09:08:45 +0800 Subject: [PATCH 10/10] 8 --- python-jsonschema.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index f0943ce..2aa8670 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,5 +1,5 @@ %global pypi_name jsonschema -%global python3_wheelname +%global python3_wheelname %{pypi_name}-%{version}-py3-none-any.whl %global _description \ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/html/draft-zyp-json-schema-03 -- Gitee