Use local rpmbuild for building the remplate rpm

This commit is contained in:
Joanna Rutkowska 2011-11-09 16:28:37 +01:00
parent 35077e2aa9
commit 68a8c0bebc
2 changed files with 5 additions and 1 deletions

View File

@ -9,4 +9,7 @@ fi
SIGN_OPT=--sign
[ "$NO_SIGN" = "1" ] && SIGN_OPT=
rpmbuild $SIGN_OPT --target noarch --define "template_name $NAME" -bb templates.spec
rpmbuild $SIGN_OPT --target noarch \
--define "template_name $NAME" \
--define "_topdir $PWD/rpmbuild" \
-bb templates.spec

1
rpmbuild/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*