qubes-linux-template-builder/build_template_rpm
Marek Marczykowski 99e9e0351d makefile: Fix building many different template rpm packages at the same time
Store build_timestamp for each built template to not mix them up in
update-repo-installer.
2013-02-24 13:33:57 +01:00

15 lines
310 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