Name: python-pytest-subprocess Version: 1.4.1 Release: 1%{?dist} Summary: A plugin to fake subprocess for pytest License: MIT URL: https://github.com/aklajnert/pytest-subprocess Source0: %{url}/archive/%{version}/pytest-subprocess-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Needed for tests: BuildRequires: /usr/bin/python %global _description %{expand: The plugin adds the fake_subprocess fixture. It can be used it to register subprocess results so you won't need to rely on the real processes. The plugin hooks on the subprocess.Popen(), which is the base for other subprocess functions. That makes the subprocess.run(), subprocess.call(), subprocess.check_call() and subprocess.check_output() methods also functional.} %description %_description %package -n python3-pytest-subprocess Summary: %{summary} %description -n python3-pytest-subprocess %_description %prep %autosetup -p1 -n pytest-subprocess-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_subprocess %check %pytest %files -n python3-pytest-subprocess -f %{pyproject_files} %doc README.rst HISTORY.rst %changelog * Mon Sep 19 2022 Charalampos Stratakis - 1.4.1-1 - Update to 1.4.1 - Fixes: rhbz#2052392 * Fri Jul 22 2022 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 1.4.0-2 - Rebuilt for Python 3.11 * Thu Jan 27 2022 Karolina Surma - 1.4.0-1 - Update to 1.4.0 - Fixes: rhbz#2012451 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jul 26 2021 Miro HronĨok - 1.1.2-1 - Initial package - Fixes: rhbz#1985993