Workaround CS-1907

By defining the %{__bootstrap} value,
we prevent misconfigured Koji putting a literal %{__bootstrap} in %dist.

See https://issues.redhat.com/browse/CS-1907
This commit is contained in:
Miro Hrončok 2024-01-08 21:54:08 +01:00
parent 8559aff8a4
commit 5cacf964e6

View File

@ -1,6 +1,11 @@
%global __python3 /usr/bin/python3.12
%global python3_pkgversion 3.12
# Workaround for https://issues.redhat.com/browse/CS-1907
# By defining the %%{__bootstrap} value,
# we prevent misconfigured Koji putting a literal %%{__bootstrap} in %%dist.
%{!?__bootstrap:%global __bootstrap %{nil}}
# The function of bootstrap is that it installs the wheel by unzipping it
%bcond_without bootstrap
# Default: when bootstrapping -> disable tests