diff --git a/build_template_rpm b/build_template_rpm index 274d7b1..543e698 100755 --- a/build_template_rpm +++ b/build_template_rpm @@ -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 diff --git a/rpmbuild/.gitignore b/rpmbuild/.gitignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/rpmbuild/.gitignore @@ -0,0 +1 @@ +*