From fc8f39e6845d0482dd47b329b5d7b847ed1453c4 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 14 Dec 2011 06:25:54 +0000 Subject: Regenerate. --- .../rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec | 11 +++++++++-- .../crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec | 11 +++++++++-- .../crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec | 11 +++++++++-- .../crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec | 11 +++++++++-- .../rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec | 11 +++++++++-- 16 files changed, 144 insertions(+), 32 deletions(-) diff --git a/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec b/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec index 2ccd7d8f47..e1d55fe56a 100644 --- a/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-arm-rtemseabi4.11-gdb Summary: Gdb for target arm-rtemseabi4.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}" diff --git a/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec index 9aee7acac4..cb7be057ee 100644 --- a/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-arm-rtems4.11-gdb Summary: Gdb for target arm-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}" diff --git a/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec index e9682c6641..2fdb295e28 100644 --- a/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-avr-rtems4.11-gdb Summary: Gdb for target avr-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}" diff --git a/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec index f3d7e079d1..9bce956bf2 100644 --- a/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-bfin-rtems4.11-gdb Summary: Gdb for target bfin-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}" diff --git a/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec index 42a095b4ed..44c8284944 100644 --- a/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-h8300-rtems4.11-gdb Summary: Gdb for target h8300-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}" diff --git a/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec index bb7f696ce0..4b4c4f37f9 100644 --- a/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-i386-rtems4.11-gdb Summary: Gdb for target i386-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}" diff --git a/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec index e32ae1d8b8..11a8376c3c 100644 --- a/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-lm32-rtems4.11-gdb Summary: Gdb for target lm32-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}" diff --git a/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec index bcfea07687..0476b0334e 100644 --- a/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-m32c-rtems4.11-gdb Summary: Gdb for target m32c-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}" diff --git a/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec index 12e9f0463f..d656d31a62 100644 --- a/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-m32r-rtems4.11-gdb Summary: Gdb for target m32r-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}" diff --git a/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec index 41456e1fe3..f9b312e120 100644 --- a/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-m68k-rtems4.11-gdb Summary: Gdb for target m68k-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}" diff --git a/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec index ef7e9ba3ee..7e33b64270 100644 --- a/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-mips-rtems4.11-gdb Summary: Gdb for target mips-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}" diff --git a/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec index 76fb0db5e4..9074512f5b 100644 --- a/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-mipstx39-rtems4.11-gdb Summary: Gdb for target mipstx39-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}" diff --git a/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec index a50bff4dee..bfeb914852 100644 --- a/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-powerpc-rtems4.11-gdb Summary: Gdb for target powerpc-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}" diff --git a/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec index 417d06b8db..b7f837f07c 100644 --- a/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-sh-rtems4.11-gdb Summary: Gdb for target sh-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}" diff --git a/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec b/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec index ca0b2c95a8..437d7f55ec 100644 --- a/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec +++ b/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.11-sparc-rtems4.11-gdb Summary: Gdb for target sparc-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}" 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}" -- cgit v1.2.3