Whamcloud - gitweb
LU-12269 build: add value to definition of with_gss in spec 92/34892/4
authorBen Menadue <ben.menadue@anu.edu.au>
Thu, 16 May 2019 23:52:40 +0000 (09:52 +1000)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2019 04:25:19 +0000 (04:25 +0000)
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.

Signed-off-by: Ben Menadue <ben.menadue@anu.edu.au>
Change-Id: I2f52b19795091702622eb3b4c110f09eb80654db
Reviewed-on: https://review.whamcloud.com/34892
Tested-by: Jenkins
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>

index a226d5a..d40c56d 100644 (file)
@@ -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
 %if %{without servers}