mirror of https://github.com/apache/cloudstack.git
RPM build - run mvn clean before building packages, to get a build from fresh source
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1369936033 -0600
(cherry picked from commit 800cd391d5)
Conflicts:
packaging/centos63/cloud.spec
This commit is contained in:
parent
d3c181efa7
commit
9a960d88fc
|
|
@ -165,10 +165,12 @@ echo PACKAGE=%{name} >> build/replace.properties
|
|||
|
||||
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
|
||||
echo "Executing mvn packaging for NONOSS ..."
|
||||
mvn -P awsapi,systemvm -Dnonoss package
|
||||
mvn clean
|
||||
mvn -Pawsapi,systemvm -Dnonoss package
|
||||
else
|
||||
echo "Executing mvn packaging for OSS ..."
|
||||
mvn -P awsapi package -Dsystemvm
|
||||
mvn clean
|
||||
mvn -Pawsapi package -Dsystemvm
|
||||
fi
|
||||
|
||||
%install
|
||||
|
|
|
|||
Loading…
Reference in New Issue