summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/gdb.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-04-12 06:14:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-04-12 06:14:08 +0000
commit5c68bf81a731b61158ae7c57202a7ac31db7bfa4 (patch)
treed31ee5c11c7abba58fef2ea54d4b4735d8800e8e /scripts/gdb/gdb.add
parent2005-04-11 Jennifer Averett<jennifer.averett@oarcorp.com> (diff)
downloadrtems-5c68bf81a731b61158ae7c57202a7ac31db7bfa4.tar.bz2
Add support for rpmbuild --with sources.
Diffstat (limited to 'scripts/gdb/gdb.add')
-rw-r--r--scripts/gdb/gdb.add2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/gdb.add b/scripts/gdb/gdb.add
index ed6664e285..d8aaa32f78 100644
--- a/scripts/gdb/gdb.add
+++ b/scripts/gdb/gdb.add
@@ -38,7 +38,7 @@ BuildPreReq: ncurses-devel
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
-NoSource: 0
+%{?!_with_sources:NoSource: 0}
# Account as best possible for targets without simulators
# and targets which require extra arguments.