summaryrefslogtreecommitdiff
path: root/TOOLS
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/build.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/TOOLS/build.sh b/TOOLS/build.sh
index da97d88..d15c278 100755
--- a/TOOLS/build.sh
+++ b/TOOLS/build.sh
@@ -7,4 +7,7 @@ TOPDIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")/..")"
SOURCEDIR="${TOPDIR}/SOURCES"
SPECDIR="${TOPDIR}/SPECS"
-rpmbuild --define "_sourcedir ${SOURCEDIR}" $@
+rpmbuild \
+ --define "_sourcedir ${SOURCEDIR}" \
+ --define "_specdir ${SPECDIR}" \
+ $@