summaryrefslogtreecommitdiffstats
path: root/scripts/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gdb')
-rw-r--r--scripts/gdb/Makefile.in1
-rw-r--r--scripts/gdb/gdb.spec.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gdb/Makefile.in b/scripts/gdb/Makefile.in
index 0973fb87d1..00c2c14171 100644
--- a/scripts/gdb/Makefile.in
+++ b/scripts/gdb/Makefile.in
@@ -65,6 +65,7 @@ GDBVERS = @GDBVERS@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
RPM_SPECSdir = @RPM_SPECSdir@
+RTEMS_VERSION = @RTEMS_VERSION@
VERSION = @VERSION@
AUTOMAKE_OPTIONS = foreign
diff --git a/scripts/gdb/gdb.spec.in b/scripts/gdb/gdb.spec.in
index c08e71bcba..ab99739bfa 100644
--- a/scripts/gdb/gdb.spec.in
+++ b/scripts/gdb/gdb.spec.in
@@ -24,7 +24,8 @@ Summary: gdb for target @target_alias@
Source0: gdb-@gdb_version@.tar.gz
Patch0: gdb-@gdb_version@-rtems-@gdb_patch_version@.diff
-Buildroot: /tmp
+Buildroot: @rpm_build_root@
+
# Patch:
%description
RTEMS is an open source operating system for embedded systems.