summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/rpmbuild.sh
blob: 05015844c2e00e50dc160fe229b7256e1d86a3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -xe
DIR=$(dirname $0)
DIR=$(readlink -f $DIR)
ZIPDIR=${DIR}/../../v3po/karaf/target/
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 -