From: Stephan Wiesand Date: Mon, 2 Jul 2018 11:33:20 +0000 (+0200) Subject: redhat: speed up userland-only rpm builds X-Git-Tag: upstream/1.8.1^2~8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b70c8e193c3187b4fd5367e4b1cb008f126ca9e5;p=packages%2Fo%2Fopenafs.git 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. Reviewed-on: https://gerrit.openafs.org/13239 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk (cherry picked from commit ab61bcffefdd0a431a435def193cd9a46e3b8ab6) Change-Id: I030c4fab62bc8973dd4d914374865569d878090d Reviewed-on: https://gerrit.openafs.org/13248 Reviewed-by: Mark Vitale Reviewed-by: Andrew Deason Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk Tested-by: Benjamin Kaduk --- diff --git a/src/packaging/RedHat/openafs.spec.in b/src/packaging/RedHat/openafs.spec.in index 14121672f..de2c46995 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 \