diff --git a/python-pure-sasl.changes b/python-pure-sasl.changes index ad01942..539b60b 100644 --- a/python-pure-sasl.changes +++ b/python-pure-sasl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 3 12:37:06 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Oct 21 23:24:32 UTC 2019 - Martin Herkt <9+suse@cirno.systems> diff --git a/python-pure-sasl.spec b/python-pure-sasl.spec index cc1992e..358046e 100644 --- a/python-pure-sasl.spec +++ b/python-pure-sasl.spec @@ -1,7 +1,7 @@ # # spec file for package python-pure-sasl # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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-%{**}} %bcond_without test Name: python-pure-sasl Version: 0.6.2 @@ -24,9 +23,11 @@ Release: 0 Summary: Pure Python client SASL implementation License: MIT Group: Development/Languages/Python -Url: http://github.com/thobbs/pure-sasl +URL: https://github.com/thobbs/pure-sasl Source: https://files.pythonhosted.org/packages/source/p/pure-sasl/pure-sasl-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-kerberos @@ -43,15 +44,16 @@ provided. %setup -q -n pure-sasl-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc CHANGES.rst README.rst -%{python_sitelib}/* +%{python_sitelib}/puresasl +%{python_sitelib}/pure[-_]sasl-%{version}*-info %changelog