diff --git a/change-require-jsonschemema-package-version.patch b/change-require-jsonschemema-package-version.patch new file mode 100644 index 0000000..23fd590 --- /dev/null +++ b/change-require-jsonschemema-package-version.patch @@ -0,0 +1,18 @@ +diff --git a/requirements.txt b/requirements.txt +index 53fee05..90a0111 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,3 +1,3 @@ +-jsonschema>=0.7,<4 ++jsonschema>=0.7,<=4.0.1 + jsonpatch>=0.10,<2 + six +diff --git a/warlock.egg-info/requires.txt b/warlock.egg-info/requires.txt +index a97030b..ae456b8 100644 +--- a/warlock.egg-info/requires.txt ++++ b/warlock.egg-info/requires.txt +@@ -1,3 +1,3 @@ +-jsonschema<4,>=0.7 ++jsonschema<=4.0.1,>=0.7 + jsonpatch<2,>=0.10 + six diff --git a/python-warlock.spec b/python-warlock.spec index 7f8d0ff..157efe5 100644 --- a/python-warlock.spec +++ b/python-warlock.spec @@ -1,11 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-warlock Version: 1.3.3 -Release: 1 +Release: 2 Summary: Python object model built on JSON schema and JSON patch. License: Apache-2.0 URL: http://github.com/bcwaldon/warlock Source0: https://files.pythonhosted.org/packages/c2/36/178b26a338cd6d30523246da4721b1114306f588deb813f3f503052825ee/warlock-1.3.3.tar.gz + +Patch0000: change-require-jsonschemema-package-version.patch BuildArch: noarch @@ -180,7 +182,7 @@ pip install warlock [pypistats]: https://pypistats.org/packages/warlock %prep -%autosetup -n warlock-1.3.3 +%autosetup -n warlock-1.3.3 -p1 %build %py3_build @@ -220,5 +222,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Nov 23 2020 Python_Bot +* Mon Nov 07 2022 xu_ping - 1.3.3-2 +- change jsonschemema version to fix installed error + +* Mon Nov 23 2020 Python_Bot - 1.3.3-1 - Package Spec generated