From 5cacf964e666fb54df13f668b465dbcaa6ebd0e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 8 Jan 2024 21:54:08 +0100 Subject: [PATCH] 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 --- python3.12-wheel.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3.12-wheel.spec b/python3.12-wheel.spec index 1d9ef27..8b4d589 100644 --- a/python3.12-wheel.spec +++ b/python3.12-wheel.spec @@ -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