From f827ee4ac860342ddc0a0118fc1da3ad5992d209 Mon Sep 17 00:00:00 2001 From: Ben Menadue Date: Mon, 10 Jun 2019 20:42:50 -0700 Subject: [PATCH] LU-12269 build: add value to definition of with_gss in spec rpmbuild currently fails when gss_keyring is enabled (which happens automatically if the right packages are installed). This is due to an ill-formed %define in lustre.spec.in that doesn't include the value to set the macro do. This patch updates this line to set the value to 1. This patch is back-ported from the following one: Lustre-commit: 5bdf89f0c13eab1513d11b2e1950fba31479535d Lustre-change: https://review.whamcloud.com/34892 Signed-off-by: Ben Menadue Change-Id: I2f52b19795091702622eb3b4c110f09eb80654db Reviewed-by: Minh Diep Reviewed-by: Li Dongyang Reviewed-on: https://review.whamcloud.com/35163 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Yang Sheng Reviewed-by: Oleg Drokin --- lustre.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre.spec.in b/lustre.spec.in index a0cd0e4..8845593 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -21,7 +21,7 @@ # request gss_keyring we must enable gss core even if # the builder attempts to disable gss. %if %{with gss_keyring} - %define with_gss + %define with_gss 1 %endif %if %{without servers} -- 1.8.3.1