Issue #202 - make edex-cots specs compatible with the branch.

Former-commit-id: 26243249e27ee347933748aa53e9436e32751d9c
This commit is contained in:
Bryan Kowal 2012-02-09 12:14:37 -06:00
parent 23f61e0945
commit 1855bbcbee

View file

@ -55,7 +55,7 @@ copyApplicableDeltas ${RPM_BUILD_ROOT} %{_component_name} \
#---------------------------------------------------------------------------#
%install
DEPLOY_SCRIPT="build.edex/deploy-install.xml"
DEPLOY_SCRIPT="deploy-install.xml"
# Deploy Edex To Our Temporary Build Directory.
@ -71,10 +71,13 @@ fi
ANT_EXE=`rpm -q --queryformat '%{INSTALLPREFIX}\n' awips2-ant`
ANT_EXE="${ANT_EXE}/bin/ant"
${ANT_EXE} -file ${WORKSPACE_DIR}/${DEPLOY_SCRIPT} \
pushd .
cd ${WORKSPACE_DIR}/build.edex
${ANT_EXE} -file ${DEPLOY_SCRIPT} \
-Dinstall.dir=${RPM_BUILD_ROOT}/awips2/edex \
-Dinstaller=true -Dlocal.build=false \
-Dcomponent.to.deploy=edex-cots
popd
%pre
if [ "${1}" = "1" ]; then
@ -155,4 +158,4 @@ rm -rf ${RPM_BUILD_ROOT}
#---------------------------------------------------------------------------#
%dir /awips2
%dir /awips2/edex
/awips2/edex/*
/awips2/edex/*