From c68e6b9057c4287171ff1acdd39973fe915003ec Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 9 May 2023 19:42:42 -0500 Subject: [PATCH] Run test suite --- python-waitress.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/python-waitress.spec b/python-waitress.spec index d22e6d3..394a73b 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -35,9 +35,13 @@ BuildRequires: python3-devel %prep %autosetup -n waitress-%{version}-nodocs +sed -e '/pytest-cover/d' \ + -e '/coverage/d' \ + -e '/addopts/d' \ + -i setup.cfg %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires -x testing %build %pyproject_wheel @@ -46,9 +50,8 @@ BuildRequires: python3-devel %pyproject_install %pyproject_save_files waitress -#check -# disable checks for now as they fail trying to lookup localhost in koji. -# +%check +%pytest %files -n python3-waitress -f %{pyproject_files} %license COPYRIGHT.txt LICENSE.txt @@ -58,6 +61,7 @@ BuildRequires: python3-devel %changelog * Wed May 10 2023 Carl George - 1.4.4-7 - Convert to pyproject macros +- Run test suite * Fri Jan 21 2022 Fedora Release Engineering - 1.4.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild