Let OSX build rpms for linux

Closes #12701
This commit is contained in:
Nik Everett 2015-08-06 15:52:11 -04:00
parent c2f774ac57
commit 8e6e8ff234
1 changed files with 7 additions and 0 deletions

View File

@ -105,6 +105,13 @@
<group>Application/Internet</group>
<packager>Elasticsearch</packager>
<prefix>/usr</prefix>
<!-- To get rpm-maven-plugin to pickup targetOS you need
to specify needarch too.... If you don't specify
targetOS then it'll just use whatever the current
machine's OS is which means you can't build rpms for
linux on OSX even if you have rpmbuild.... -->
<needarch>noarch</needarch>
<targetOS>linux</targetOS>
<changelogFile>src/changelog</changelogFile>
<defineStatements>
<defineStatement>_unpackaged_files_terminate_build 0</defineStatement>