blob: 62f375fd3eff33be8c4168a40be94f8b4074404e (
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}/../../vpp-integration/karaf/target/
ZIPFILE=${ZIPDIR}/vpp-integration-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 -
|