mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-14 17:42:24 +01:00
Fix the spec file for the noredist build
This commit is contained in:
parent
316543541d
commit
da99f6552c
@ -111,7 +111,7 @@ releases of cloudstack
|
||||
|
||||
To build all non redistributable components, add the noredist flag to the build command:
|
||||
|
||||
$ mvn clean install -P systemvm,developer -Dnonoss
|
||||
$ mvn clean install -P systemvm,developer -Dnoredist
|
||||
|
||||
Clear old database (if any) and deploy the database schema:
|
||||
|
||||
|
||||
@ -174,12 +174,12 @@ cp packaging/centos63/replace.properties build/replace.properties
|
||||
echo VERSION=%{_maventag} >> build/replace.properties
|
||||
echo PACKAGE=%{name} >> build/replace.properties
|
||||
|
||||
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
|
||||
echo "Executing mvn packaging for NONOSS ..."
|
||||
mvn -Pawsapi,systemvm -Dnonoss package clean install
|
||||
if [ "%{_ossnoss}" == "NOREDIST" -o "%{_ossnoss}" == "noredist" ] ; then
|
||||
echo "Executing mvn packaging with non-redistributable libraries ..."
|
||||
mvn -Pawsapi,systemvm -Dnoredist clean package
|
||||
else
|
||||
echo "Executing mvn packaging for OSS ..."
|
||||
mvn -Pawsapi package -Dsystemvm clean install
|
||||
echo "Executing mvn packaging ..."
|
||||
mvn -Pawsapi,systemvm clean package
|
||||
fi
|
||||
|
||||
%install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user