3092bb2d71
While at it, also change name of local repo to pkgs-for-tmplate (was yum_repo_qubes).
17 lines
329 B
Bash
Executable File
17 lines
329 B
Bash
Executable File
#!/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 "_topdir $PWD/rpmbuild" \
|
|
--define "_tmppath $PWD/rpmbuild/tmp" \
|
|
-bb templates.spec
|