From: Stephan Wiesand Date: Mon, 2 Jul 2018 11:33:20 +0000 (+0200) Subject: redhat: speed up userland-only rpm builds X-Git-Tag: openafs-devel-1_9_0~513 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=ab61bcffefdd0a431a435def193cd9a46e3b8ab6 redhat: speed up userland-only rpm builds When building with --define "build_modules 0", have configure skip the Linux kernel tests, which are slow and many. Change-Id: Ie318bf4939776c9a3f8594dcdd5be54b446f33dd Reviewed-on: https://gerrit.openafs.org/13239 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk --- diff --git a/src/packaging/RedHat/openafs.spec.in b/src/packaging/RedHat/openafs.spec.in index 1412167..de2c469 100644 --- a/src/packaging/RedHat/openafs.spec.in +++ b/src/packaging/RedHat/openafs.spec.in @@ -591,6 +591,8 @@ export KRB5_CONFIG --with-linux-kernel-packaging \ %if %{build_modules} --with-linux-kernel-headers=${ksrc} \ +%else + --disable-kernel-module \ %endif %if %{krb5support} --with-krb5 \