| |
@@ -21,7 +21,6 @@
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: python3-setuptools
|
| |
BuildRequires: python3-pytest
|
| |
- BuildRequires: python3-pytest-cov
|
| |
BuildRequires: python3-pytest-rerunfailures
|
| |
BuildRequires: python3-pytest-timeout
|
| |
BuildRequires: python3-PyYAML >= 3.09
|
| |
@@ -37,6 +36,8 @@
|
| |
chmod -x README.rst
|
| |
# Remove bundled egg-info in case it exists
|
| |
rm -rf %{modname}.egg-info
|
| |
+ # Remove pytest-cov dependency
|
| |
+ sed -i -e /--cov=/d -e /--cov-report=/d setup.cfg
|
| |
|
| |
%build
|
| |
%py3_build
|
| |
Simplify the build process by removing the code coverage library.
This makes it easier to package watchdog for EPEL 9. pytest-cov requires python-pytest-xdist -> python-gevent -> libuv-devel, and those two -devel packages are not available in the RHEL 9 composes.