diff --git a/python-repoze.who.changes b/python-repoze.who.changes index 104ffad..c265f99 100644 --- a/python-repoze.who.changes +++ b/python-repoze.who.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 12:45:29 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Oct 29 08:17:10 UTC 2024 - Dirk Müller diff --git a/python-repoze.who.spec b/python-repoze.who.spec index 7fe439b..afa1934 100644 --- a/python-repoze.who.spec +++ b/python-repoze.who.spec @@ -1,7 +1,7 @@ # # spec file for package python-repoze.who # -# 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 @@ -17,8 +17,8 @@ %global modname repoze.who -%{?sle15_python_module_pythons} %global skip_python313 1 +%{?sle15_python_module_pythons} Name: python-repoze.who Version: 3.0.0 Release: 0 @@ -27,8 +27,10 @@ License: SUSE-Repoze URL: http://www.repoze.org Source: https://files.pythonhosted.org/packages/source/r/repoze.who/%{modname}-%{version}.tar.gz BuildRequires: %{python_module WebOb} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,10 +55,10 @@ domain of the WSGI application. %setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check @@ -65,6 +67,9 @@ domain of the WSGI application. %files %{python_files} %license LICENSE.txt %doc *.txt -%{python_sitelib}/* +%dir %{python_sitelib}/repoze +%{python_sitelib}/repoze/who +%{python_sitelib}/repoze[._]who-%{version}*-info +%{python_sitelib}/repoze[._]who-%{version}*nspkg.pth %changelog