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:
|
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:
|
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 VERSION=%{_maventag} >> build/replace.properties
|
||||||
echo PACKAGE=%{name} >> build/replace.properties
|
echo PACKAGE=%{name} >> build/replace.properties
|
||||||
|
|
||||||
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
|
if [ "%{_ossnoss}" == "NOREDIST" -o "%{_ossnoss}" == "noredist" ] ; then
|
||||||
echo "Executing mvn packaging for NONOSS ..."
|
echo "Executing mvn packaging with non-redistributable libraries ..."
|
||||||
mvn -Pawsapi,systemvm -Dnonoss package clean install
|
mvn -Pawsapi,systemvm -Dnoredist clean package
|
||||||
else
|
else
|
||||||
echo "Executing mvn packaging for OSS ..."
|
echo "Executing mvn packaging ..."
|
||||||
mvn -Pawsapi package -Dsystemvm clean install
|
mvn -Pawsapi,systemvm clean package
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user