summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/rpmbuild.sh
blob: f84e9677f2d71a995518bfab44da14a2357efacc (plain)
1
2
3
4
5
6
7
8
9
10
#!/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/
rpmbuild -bb --define "_topdir ${DIR}"  ${DIR}/honeycomb.spec