qubes-linux-template-builder/build_template_rpm

19 lines
417 B
Plaintext
Raw Normal View History

#!/bin/sh
NAME=$1
if [ x$NAME = x ] ; then
echo "usage $0 <template_name>"
exit 1
fi
. ./builder_setup
rpmbuild --target noarch \
--define "template_name $NAME" \
--define "DIST $DIST" \
--define "DISTRIBUTION $DISTRIBUTION" \
--define "VERSION $VERSION" \
--define "_topdir $PWD/rpmbuild" \
2011-11-09 15:43:21 +00:00
--define "_tmppath $PWD/rpmbuild/tmp" \
-bb templates.spec