From 5a7f0c88352b825ee1f00f2fcc0c1bccb658ae8f Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 25 Jun 2020 20:19:34 -0400 Subject: [PATCH] Add missing BR for setuptools --- python-pytest-timeout.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-pytest-timeout.spec b/python-pytest-timeout.spec index b3b3b33..e02eeb5 100644 --- a/python-pytest-timeout.spec +++ b/python-pytest-timeout.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 1.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: py.test plugin to abort hanging tests License: MIT @@ -15,6 +15,7 @@ BuildRequires: python3-devel BuildRequires: %{py3_dist pexpect} BuildRequires: %{py3_dist pytest} >= 3.6.0 BuildRequires: %{py3_dist pytest-cov} +BuildRequires: %{py3_dist setuptools} %global _description %{expand: This is a plugin which will terminate tests after a certain timeout. When doing @@ -40,7 +41,7 @@ Summary: %{summary} %py3_install %check -PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python3_version} +%pytest %files -n python3-%{pypi_name} @@ -50,6 +51,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{py %{python3_sitelib}/__pycache__/pytest_timeout* %changelog +* Fri Jun 26 2020 Scott Talbert - 1.4.1-2 +- Add missing BR for setuptools + * Tue Jun 16 2020 Scott Talbert - 1.4.1-1 - Update to new upstream release 1.4.1 (#1846923) - Modernize packaging