From 1fb1ae3dd654ab03fdba5e67fb0e046ad9e5b43c Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 4 Aug 2022 22:39:25 +0100 Subject: [PATCH] Build with jansson when not bootstrapping Enables automatic validation of --package-metadata --- binutils.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/binutils.spec b/binutils.spec index c8fd2c1..f85509f 100644 --- a/binutils.spec +++ b/binutils.spec @@ -370,7 +370,7 @@ BuildRequires: gcc %endif %if %{without bootstrap} -BuildRequires: gettext, flex, zlib-devel +BuildRequires: gettext, flex, zlib-devel, jansson-devel %endif %if %{with docs} @@ -667,6 +667,9 @@ esac %endif %if %{enable_separate_code} --enable-separate-code=yes \ +%endif +%if %{without bootstrap} + --enable-jansson=yes \ %endif $CARGS \ --enable-plugins \