| |
@@ -33,7 +33,7 @@
|
| |
BuildRequires: python3dist(pytest-mock)
|
| |
BuildRequires: python3dist(jaraco.functools)
|
| |
|
| |
- %if %{?el8}
|
| |
+ %if 0%{?el8}
|
| |
BuildRequires: python3-setuptools_scm
|
| |
BuildRequires: python3dist(more-itertools) >= 2.6
|
| |
%else
|
| |
@@ -86,7 +86,7 @@
|
| |
sed -i 's/ --testmon//' pytest.ini
|
| |
sed -i 's/ -n auto//' pytest.ini
|
| |
sed -i '/pytest-testmon/d' setup.cfg
|
| |
- %if %{?el8}
|
| |
+ %if 0%{?el8}
|
| |
# drop setuptools_scm_git_archive
|
| |
sed -i '/setuptools_scm_git_archive/d' setup.cfg
|
| |
%endif
|
| |
Add a "0" to make the conditionals evaluate to "false" on non-el8 platforms