#!/bin/sh NAME=$1 if [ x$NAME = x ] ; then echo "usage $0 " exit fi rpmbuild --sign --target noarch --define "template_name $NAME" -bb templates.spec