adjust build conditionals
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
bae00581fe
commit
ffa67d5bf4
@ -43,7 +43,7 @@ Summary: %{summary}
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit_am -n %{pypi_name}-%{built_tag_strip}
|
%autosetup -Sgit_am -n %{pypi_name}-%{built_tag_strip}
|
||||||
|
|
||||||
%if ! 0%{?rhel} <= 8
|
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires %{?with_tests:-t}
|
%pyproject_buildrequires %{?with_tests:-t}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user