2010-04-05 22:25:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
NAME=$1
|
|
|
|
|
|
|
|
if [ x$NAME = x ] ; then
|
|
|
|
echo "usage $0 <template_name>"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2011-09-27 15:44:39 +00:00
|
|
|
SIGN_OPT=--sign
|
|
|
|
[ "$NO_SIGN" = "1" ] && SIGN_OPT=
|
|
|
|
|
|
|
|
rpmbuild $SIGN_OPT --target noarch --define "template_name $NAME" -bb templates.spec
|