Whamcloud - gitweb
LU-9339 quota: Replace MAXQUOTAS usage with LL_MAXQUOTAS
[fs/lustre-release.git] / contrib / lbuild / lbuild-rhel7
index e7c1766..68c2400 100644 (file)
@@ -8,7 +8,7 @@ BUILD_GEN+=".0"
 
 SPEC_NAME="kernel.spec"
 DEVEL_PATH_ARCH_DELIMETER="."
-USE_KABI=true
+USE_KABI=false
 
 # force local definition of %dist into ~/.rpmmacros
 # to avoid verbose extended strings like ".el7.centos"
@@ -104,3 +104,7 @@ kernel_srpm_location() {
     echo "http://vault.centos.org/centos/7/updates/Source/SPackages/"
 
 }
+
+cleanup_rpmmacros() {
+       sed -i "/^%kernel_module_package/,/^)}$/d" $RMAC
+}