From 7e0b254b145fbe790a72a42368413991aa858e05 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Jan 15 2024 10:05:28 +0000 Subject: temporarily disable hard gcc version check --- diff --git a/annobin.spec b/annobin.spec index ab913b1..2da1b8f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -36,9 +36,9 @@ URL: https://sourceware.org/annobin/ # Set this to zero to disable the requirement for a specific version of gcc. # This should only be needed if there is some kind of problem with the version # checking logic or when building on RHEL-7 or earlier. -%global with_hard_gcc_version_requirement 1 +%global with_hard_gcc_version_requirement 0 -%bcond_without plugin_rebuild +%bcond_with plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -50,12 +50,14 @@ URL: https://sourceware.org/annobin/ # # The default is to use plugin during rebuilds (cf BZ 1630550) but this can # be changed because of the need to be able to rebuild annobin when a change -# to gcc breaks the version installed into the buildroot. Mote however that +# to gcc breaks the version installed into the buildroot. Note however that # uncommenting the lines below will result in annocheck not passing the rpminspect # tests.... -# %%if %%{without plugin_rebuild} + +%if %{without plugin_rebuild} %undefine _annotated_build -# %%endif +%endif + #---------------------------------------------------------------------------------