diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-04-12 06:14:08 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-04-12 06:14:08 +0000 |
commit | 5c68bf81a731b61158ae7c57202a7ac31db7bfa4 (patch) | |
tree | d31ee5c11c7abba58fef2ea54d4b4735d8800e8e | |
parent | 2005-04-11 Jennifer Averett<jennifer.averett@oarcorp.com> (diff) | |
download | rtems-5c68bf81a731b61158ae7c57202a7ac31db7bfa4.tar.bz2 |
Add support for rpmbuild --with sources.
-rw-r--r-- | scripts/binutils/binutils.add | 2 | ||||
-rw-r--r-- | scripts/gcc3newlib/gccnewlib.add | 4 | ||||
-rw-r--r-- | scripts/gdb/gdb.add | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/binutils/binutils.add b/scripts/binutils/binutils.add index a9843f2088..d0dad35deb 100644 --- a/scripts/binutils/binutils.add +++ b/scripts/binutils/binutils.add @@ -29,7 +29,7 @@ Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}@binutil # your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR). # Or you can try the ftp options of rpm :-) # -NoSource: 0 +%{?!_with_sources:NoSource: 0} # %description # diff --git a/scripts/gcc3newlib/gccnewlib.add b/scripts/gcc3newlib/gccnewlib.add index 61b2e5089b..6e0431e1c4 100644 --- a/scripts/gcc3newlib/gccnewlib.add +++ b/scripts/gcc3newlib/gccnewlib.add @@ -41,8 +41,8 @@ BuildPreReq: %{rpmprefix}%{gcc_target}-binutils # your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR). # Or you can try the ftp options of rpm :-) # -NoSource: 0 -NoSource: 1 +%{?!_with_sources:NoSource: 0} +%{?!_with_sources:NoSource: 1} # Use rpm -ba --define 'gnat [0|1]' xxx.spec to override building gnat for # those targets wanting to support ada. 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. |