12
0

2 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 7 06:50:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:31:23 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:31:23 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-forked # spec file for package python-pytest-forked
# #
# Copyright (c) 2023 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
@@ -24,10 +24,12 @@ Summary: Run each test in a forked subprocess
License: MIT License: MIT
URL: https://github.com/pytest-dev/pytest-forked URL: https://github.com/pytest-dev/pytest-forked
Source: https://files.pythonhosted.org/packages/source/p/pytest-forked/pytest-forked-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-forked/pytest-forked-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 3.10} BuildRequires: %{python_module pytest >= 3.10}
BuildRequires: %{python_module py} BuildRequires: %{python_module py}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-py Requires: python-py
@@ -42,10 +44,10 @@ Extraction of pytest-xdist --forked module used for running tests in forked subp
%setup -q -n pytest-forked-%{version} %setup -q -n pytest-forked-%{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
@@ -56,6 +58,6 @@ Extraction of pytest-xdist --forked module used for running tests in forked subp
%license LICENSE %license LICENSE
%doc README.rst CHANGELOG.rst %doc README.rst CHANGELOG.rst
%{python_sitelib}/pytest_forked %{python_sitelib}/pytest_forked
%{python_sitelib}/pytest_forked-%{version}*-info %{python_sitelib}/pytest_forked-%{version}.dist-info
%changelog %changelog