| |
@@ -137,8 +137,8 @@
|
| |
|
| |
%{?python_provide:%python_provide python3-copr}
|
| |
|
| |
- %if 0%{?fedora} > 30
|
| |
- BuildRequires: pyproject-rpm-macros
|
| |
+ %if 0%{?fedora} > 30 || 0%{?rhel} >= 9
|
| |
+ BuildRequires: python3-devel
|
| |
BuildRequires: python3-sphinx
|
| |
BuildRequires: python3-pytest
|
| |
BuildRequires: python3-mock
|
| |
This still doesn't build, due to missing python3-mock: you should use the standard library unittest.mock instead, see https://fedoraproject.org/wiki/Changes/DeprecatePythonMock