diff --git a/python-pyipp.changes b/python-pyipp.changes index 091c9fd..f3172cc 100644 --- a/python-pyipp.changes +++ b/python-pyipp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 3 10:12:47 UTC 2024 - Dirk Müller + +- spec file cleanups + ------------------------------------------------------------------- Mon Apr 13 15:11:50 UTC 2020 - Antonio Larrosa diff --git a/python-pyipp.spec b/python-pyipp.spec index 705898e..2ae06f6 100644 --- a/python-pyipp.spec +++ b/python-pyipp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyipp # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-pyipp Version: 0.11.0 Release: 0 @@ -28,9 +26,12 @@ Group: Development/Languages/Python URL: https://github.com/ctalkington/python-ipp Source: https://github.com/ctalkington/python-ipp/archive/%{version}.tar.gz#/pyipp-%{version}.tar.gz BuildRequires: %{python_module aiohttp >= 3.6.2} +BuildRequires: %{python_module async-timeout} BuildRequires: %{python_module deepmerge >= 0.1.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module yarl >= 1.4.2} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -48,10 +49,10 @@ Asynchronous Python client for Internet Printing Protocol (IPP). rm tests/test_client.py tests/test_interface.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +61,7 @@ rm tests/test_client.py tests/test_interface.py %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pyipp +%{python_sitelib}/pyipp-%{version}.dist-info %changelog