From 2f8fd58b7a6a452d9afcd4e6ff19ed263f50ab7d Mon Sep 17 00:00:00 2001 From: han-guangyu Date: Thu, 10 Nov 2022 09:00:12 +0000 Subject: [PATCH] fix: Fix build error CI currently reads setup.py to obtain more dependencies, but the build environment cannot connect to the external network, resulting in a build error. Add python3-setuptools_scm BuildRequire to resolev build error. --- python-jsonschema.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 90ce945..b186ccf 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-jsonschema Version: 3.0.2 -Release: 1 +Release: 2 Summary: An implementation of JSON Schema validation for Python License: MIT URL: https://github.com/Julian/jsonschema @@ -15,6 +15,7 @@ Summary: An implementation of JSON Schema validation for Python Provides: python-jsonschema BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel @@ -70,6 +71,11 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Nov 10 2022 Han Guangyu hanguangyu@uniontech.com - 3.0.2-2 +- Add python3-setuptools_scm BuildRequire to resolev build error caused by CI + currently reading setup.py to get more dependencies but the build environment + cannot connect to the external network + * Wed Feb 09 2022 OpenStack_SIG - 3.0.2-1 - Remove the support of python2 and upgrade the version to 3.0.2 -- Gitee