diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-14 06:25:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-14 06:25:54 +0000 |
commit | fc8f39e6845d0482dd47b329b5d7b847ed1453c4 (patch) | |
tree | 3d010dba32927ad03bae18e16c7ff442c8b5c51c /contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec | |
parent | Bump GDB_RPMREL. (diff) | |
download | rtems-fc8f39e6845d0482dd47b329b5d7b847ed1453c4.tar.bz2 |
Regenerate.
Diffstat (limited to '')
-rw-r--r-- | contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec index 913f91f241..96a8b7234b 100644 --- a/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-sparc64-rtems4.11-gdb Summary: Gdb for target sparc64-rtems4.11 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 1%{?dist} +Release: 2%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc %global build_sim --enable-sim # Whether to build against system readline -# Default: yes +# Default: yes, except on EL5 +%if "{gdb_version}" >= "7.3.91" +# gdb >= 7.3.91 requires readline6 +# EL5's readline is too old +%{?el5:%bcond_with system_readline} +%{!?el5:%bcond_without system_readline} +%else %bcond_without system_readline +%endif # Whether to build python support %if "%{_build}" != "%{_host}" |