From 1cdea985f70a908fcbba1ced2588b667a1ce079c4edf2a5b421e9abf752b927b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 26 Sep 2023 16:45:13 +0000 Subject: [PATCH] Accepting request 1113672 from home:bnavigator:branches:devel:languages:python - Fix dependencies and remove deprecated python packaging patterns OBS-URL: https://build.opensuse.org/request/show/1113672 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-warlock?expand=0&rev=38 --- python-warlock.changes | 5 +++++ python-warlock.spec | 15 +++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/python-warlock.changes b/python-warlock.changes index d03bd38..4b1f779 100644 --- a/python-warlock.changes +++ b/python-warlock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 26 13:38:50 UTC 2023 - Ben Greiner + +- Fix dependencies and remove deprecated python packaging patterns + ------------------------------------------------------------------- Fri Oct 14 18:58:16 UTC 2022 - pgajdos@suse.com diff --git a/python-warlock.spec b/python-warlock.spec index 23d423c..96c4b80 100644 --- a/python-warlock.spec +++ b/python-warlock.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-warlock Version: 2.0.1 Release: 0 @@ -25,16 +24,15 @@ License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/bcwaldon/warlock Source: https://github.com/bcwaldon/warlock/archive/%{version}.tar.gz#/warlock-%{version}.tar.gz -BuildRequires: %{python_module jsonpatch >= 0.7} -BuildRequires: %{python_module jsonschema >= 0.10} +BuildRequires: %{python_module jsonpatch >= 1} +BuildRequires: %{python_module jsonschema >= 4} BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry} +BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-jsonpatch >= 0.7 -Requires: python-jsonschema >= 0.10 +Requires: python-jsonpatch >= 1 +Requires: python-jsonschema >= 4 BuildArch: noarch %python_subpackages @@ -58,6 +56,7 @@ rm pytest.ini %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/warlock +%{python_sitelib}/warlock-%{version}.dist-info %changelog