From 68a8c0bebc8a2a597b2fb4ea54097960caf501ae Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Wed, 9 Nov 2011 16:28:37 +0100 Subject: [PATCH] Use local rpmbuild for building the remplate rpm --- build_template_rpm | 5 ++++- rpmbuild/.gitignore | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rpmbuild/.gitignore 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 @@ +*