14
0

Accepting request 966143 from home:sebix:branches:devel:languages:python

- remove dependency generator, as it is not adviced to do so
- add setuptools_scm as dependency to fix the version number

OBS-URL: https://build.opensuse.org/request/show/966143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subprocess-tee?expand=0&rev=3
This commit is contained in:
2022-03-31 09:08:25 +00:00
committed by Git OBS Bridge
parent 8a38794e57
commit e062690fb7
2 changed files with 12 additions and 6 deletions

View File

@@ -24,17 +24,16 @@ Summary: Captures the output of subprocesses in real-time
License: MIT
URL: https://github.com/pycontribs/subprocess-tee
Source: https://files.pythonhosted.org/packages/source/s/subprocess-tee/subprocess-tee-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test
BuildRequires: %{python_module enrich}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-generators
%{?python_enable_dependency_generator}
BuildArch: noarch
%python_subpackages
@@ -62,7 +61,8 @@ to provide instant feedback (progress) related to what is happening.
%pytest -k 'not test_molecule'
%files %{python_files}
%{python_sitelib}/subprocess_tee*
%{python_sitelib}/subprocess_tee/
%{python_sitelib}/subprocess_tee-%{version}*-info
%doc README.md
%license LICENSE