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