diff --git a/python-k5test.changes b/python-k5test.changes index d687eee..637ec92 100644 --- a/python-k5test.changes +++ b/python-k5test.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 30 09:05:17 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed Apr 3 07:49:11 UTC 2024 - Dirk Müller diff --git a/python-k5test.spec b/python-k5test.spec index df5e3ce..fdc549a 100644 --- a/python-k5test.spec +++ b/python-k5test.spec @@ -1,7 +1,7 @@ # # spec file for package python-k5test # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-k5test Version: 0.10.4 @@ -26,7 +25,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/pythongssapi/k5test Source: https://files.pythonhosted.org/packages/source/k/k5test/k5test-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: krb5-client @@ -43,10 +44,10 @@ the file of the same name found alongside the MIT Kerberos 5 unit tests. %setup -q -n k5test-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # no testsuite found