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