summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/rpmbuild.sh
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-06-17 14:54:04 -0500
committerEd Warnicke <eaw@cisco.com>2016-06-17 14:54:04 -0500
commitabad08ac35f8f62c6773da9409ccc458689f5b5e (patch)
treeba2d5e877b1717fd52e38a1cf78f4b92ce3b49b8 /packaging/rpm/rpmbuild.sh
parent8ebf56db40f44815dc244faccddca0db01370d1b (diff)
Fix for rpmbuild
Change-Id: I8d7f1c17d750db72a7344b3c670ed850d5b90dff Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'packaging/rpm/rpmbuild.sh')
-rwxr-xr-xpackaging/rpm/rpmbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/rpm/rpmbuild.sh b/packaging/rpm/rpmbuild.sh
index f84e9677f..05015844c 100755
--- a/packaging/rpm/rpmbuild.sh
+++ b/packaging/rpm/rpmbuild.sh
@@ -7,4 +7,6 @@ ZIPFILE=${ZIPDIR}/v3po-karaf-1.0.0-SNAPSHOT.zip
mkdir -p ${DIR}/SOURCES/
cp $ZIPFILE ${DIR}/SOURCES/
cp ${DIR}/honeycomb.spec ${DIR}/SOURCES/
+cd ${DIR}
rpmbuild -bb --define "_topdir ${DIR}" ${DIR}/honeycomb.spec
+cd -