mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Specify linux target for rpmbuild
This commit is contained in:
@@ -281,6 +281,7 @@ function packageLinuxRpm (platform, packageType) {
|
|||||||
`rpmbuild -bb ${specOutputPath} `
|
`rpmbuild -bb ${specOutputPath} `
|
||||||
+ `--define "_distdir ${BUILD_PATH}" `
|
+ `--define "_distdir ${BUILD_PATH}" `
|
||||||
+ `--define "_rpmdir ${BUILD_PATH}" `
|
+ `--define "_rpmdir ${BUILD_PATH}" `
|
||||||
|
+ `--target=x86_64-linux`
|
||||||
, { shell: true });
|
, { shell: true });
|
||||||
|
|
||||||
return glob.sync("**/*.rpm", { cwd: BUILD_PATH })[0];
|
return glob.sync("**/*.rpm", { cwd: BUILD_PATH })[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user