From b729d343c52f8538665bbb6443c9f89930cf34fc1f975f5deee981d3015f3d2a Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.com>
Date: Fri, 19 Aug 2022 06:43:19 +0000
Subject: [PATCH] Accepting request 998036 from
 home:bnavigator:branches:devel:languages:python

- Remove code coverage checking for packaging tests

OBS-URL: https://build.opensuse.org/request/show/998036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=54
---
 python-waitress.changes | 5 +++++
 python-waitress.spec    | 7 +++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/python-waitress.changes b/python-waitress.changes
index 4f99fd3..5b66b36 100644
--- a/python-waitress.changes
+++ b/python-waitress.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Aug 18 20:45:25 UTC 2022 - Ben Greiner <code@bnavigator.de>
+
+- Remove code coverage checking for packaging tests
+
 -------------------------------------------------------------------
 Tue May 31 03:16:03 UTC 2022 - Arun Persaud <arun@gmx.de>
 
diff --git a/python-waitress.spec b/python-waitress.spec
index e0344de..af1e0b8 100644
--- a/python-waitress.spec
+++ b/python-waitress.spec
@@ -45,7 +45,6 @@ BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros >= 20210929
 BuildArch:      noarch
 %if "%{flavor}" == ""
-BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 %if %{with libalternatives}
@@ -76,6 +75,7 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
 
 %prep
 %setup -q -n waitress-%{version}
+sed -i '/addopts/d' setup.cfg
 
 %build
 %python_build
@@ -103,9 +103,8 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
 %license LICENSE.txt
 %doc COPYRIGHT.txt README.rst
 %python_alternative %{_bindir}/waitress-serve
-%dir %{python_sitelib}/waitress
-%{python_sitelib}/waitress/*
-%{python_sitelib}/waitress-%{version}-py*.egg-info
+%{python_sitelib}/waitress
+%{python_sitelib}/waitress-%{version}*-info
 
 %else