CLOUDSTACK-7469 Complete simulator build support The initial commit (f96c65416a2802bcf2a1f8d5a5070ffe6a29111f) missed part of the change to package.sh, so we were not actually passing through the simulator build option to the rpmbuild call. This patch completes the support.
(cherry picked from commit e717450e0edd2406c4c3fc7341b3669c4390d507) Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/45ebdf34 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/45ebdf34 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/45ebdf34 Branch: refs/heads/4.5 Commit: 45ebdf34aee51217bf32e58039da16870dd1e5b3 Parents: 9cf05dc Author: Alex Brett <[email protected]> Authored: Mon Oct 13 12:18:41 2014 +0100 Committer: Rohit Yadav <[email protected]> Committed: Tue Jan 20 15:01:41 2015 +0530 ---------------------------------------------------------------------- packaging/centos63/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/45ebdf34/packaging/centos63/package.sh ---------------------------------------------------------------------- diff --git a/packaging/centos63/package.sh b/packaging/centos63/package.sh index bbc3736..00c1947 100755 --- a/packaging/centos63/package.sh +++ b/packaging/centos63/package.sh @@ -79,7 +79,7 @@ function packaging() { cp -rf default $RPMDIR/SPECS cp -rf rhel7 $RPMDIR/SPECS - (cd $RPMDIR; rpmbuild --define "_topdir $RPMDIR" "${DEFVER}" "${DEFREL}" ${DEFPRE+"${DEFPRE}"} ${DEFOSSNOSS+"$DEFOSSNOSS"} "${DOS}" -bb SPECS/cloud.spec) + (cd $RPMDIR; rpmbuild --define "_topdir $RPMDIR" "${DEFVER}" "${DEFREL}" ${DEFPRE+"${DEFPRE}"} ${DEFOSSNOSS+"$DEFOSSNOSS"} ${DEFSIM+"$DEFSIM"} "${DOS}" -bb SPECS/cloud.spec) if [ $? -ne 0 ]; then echo "RPM Build Failed "
