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,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