qubes-linux-template-builder/build_template_rpm
Marek Marczykowski-Górecki 853a4679fb Do not include builder_setup in build_template_rpm
Everything it needs is already present in the environment.
2015-03-17 15:07:44 +01:00

16 lines
311 B
Bash
Executable File

#!/bin/sh
NAME=$1
if [ x$NAME = x ] ; then
echo "usage $0 <template_name>"
exit 1
fi
rpmbuild --target noarch \
--define "template_name $NAME" \
--define "DIST $DIST" \
--define "_topdir $PWD/rpmbuild" \
--define "_tmppath $PWD/rpmbuild/tmp" \
-bb templates.spec