14
0
2025-06-13 12:14:06 +00:00
committed by Git OBS Bridge
parent 60129adfbd
commit 33d1024a96
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 13 12:13:46 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 20 07:45:10 UTC 2024 - Dirk Müller <dmueller@suse.com> Sat Apr 20 07:45:10 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-subprocrunner # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
# #
%define skip_python2 1
Name: python-subprocrunner Name: python-subprocrunner
Version: 2.0.1 Version: 2.0.1
Release: 0 Release: 0
@@ -25,7 +24,9 @@ License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/thombashi/subprocrunner URL: https://github.com/thombashi/subprocrunner
Source: https://files.pythonhosted.org/packages/source/s/subprocrunner/subprocrunner-%{version}.tar.gz 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 setuptools >= 38.3.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-loguru >= 0.4.1 Requires: python-loguru >= 0.4.1
@@ -33,12 +34,12 @@ Requires: python-mbstrdecoder >= 1.0.0
Requires: python-typepy Requires: python-typepy
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: hostname
BuildRequires: %{python_module loguru >= 0.4.1} BuildRequires: %{python_module loguru >= 0.4.1}
BuildRequires: %{python_module mbstrdecoder >= 1.0.0} BuildRequires: %{python_module mbstrdecoder >= 1.0.0}
BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typepy} BuildRequires: %{python_module typepy}
BuildRequires: hostname
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -49,10 +50,10 @@ A Python wrapper library for subprocess module.
%setup -q -n subprocrunner-%{version} %setup -q -n subprocrunner-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check