From 20122d6d19c6e451d63a165be1e47fe014a3bbc0 Mon Sep 17 00:00:00 2001 From: hensm Date: Thu, 24 Jan 2019 16:27:27 +0000 Subject: [PATCH] Specify linux target for rpmbuild --- app/bin/build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/bin/build.js b/app/bin/build.js index a1cd303..6621441 100644 --- a/app/bin/build.js +++ b/app/bin/build.js @@ -281,6 +281,7 @@ function packageLinuxRpm (platform, packageType) { `rpmbuild -bb ${specOutputPath} ` + `--define "_distdir ${BUILD_PATH}" ` + `--define "_rpmdir ${BUILD_PATH}" ` + + `--target=x86_64-linux` , { shell: true }); return glob.sync("**/*.rpm", { cwd: BUILD_PATH })[0];