diff --git a/python-subprocrunner.changes b/python-subprocrunner.changes index eb43f79..1d00ca4 100644 --- a/python-subprocrunner.changes +++ b/python-subprocrunner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 13 12:13:46 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sat Apr 20 07:45:10 UTC 2024 - Dirk Müller diff --git a/python-subprocrunner.spec b/python-subprocrunner.spec index a3d2ce3..b902897 100644 --- a/python-subprocrunner.spec +++ b/python-subprocrunner.spec @@ -1,7 +1,7 @@ # # spec file for package python-subprocrunner # -# 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 @@ # -%define skip_python2 1 Name: python-subprocrunner Version: 2.0.1 Release: 0 @@ -25,7 +24,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/thombashi/subprocrunner Source: https://files.pythonhosted.org/packages/source/s/subprocrunner/subprocrunner-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 38.3.0} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-loguru >= 0.4.1 @@ -33,12 +34,12 @@ Requires: python-mbstrdecoder >= 1.0.0 Requires: python-typepy BuildArch: noarch # SECTION test requirements -BuildRequires: hostname BuildRequires: %{python_module loguru >= 0.4.1} BuildRequires: %{python_module mbstrdecoder >= 1.0.0} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module typepy} +BuildRequires: hostname # /SECTION %python_subpackages @@ -49,10 +50,10 @@ A Python wrapper library for subprocess module. %setup -q -n subprocrunner-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check