mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Merge pull request #12706 from nik9000/osx_can_build_rpm
Let OSX build rpms for linux
This commit is contained in:
commit
cde2502732
1 changed files with 7 additions and 0 deletions
|
@ -105,6 +105,13 @@
|
||||||
<group>Application/Internet</group>
|
<group>Application/Internet</group>
|
||||||
<packager>Elasticsearch</packager>
|
<packager>Elasticsearch</packager>
|
||||||
<prefix>/usr</prefix>
|
<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>
|
<changelogFile>src/changelog</changelogFile>
|
||||||
<defineStatements>
|
<defineStatements>
|
||||||
<defineStatement>_unpackaged_files_terminate_build 0</defineStatement>
|
<defineStatement>_unpackaged_files_terminate_build 0</defineStatement>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue