diff options
Diffstat (limited to 'contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec')
-rw-r--r-- | contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec index 6972732c18..4f7a2693c3 100644 --- a/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec @@ -32,7 +32,7 @@ Name: rtems-4.9-avr-rtems4.9-gdb Summary: Gdb for target avr-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 2%{?dist} +Release: 3%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -53,7 +53,7 @@ BuildRequires: %{_host_rpmprefix}expat-devel %endif %endif -%if "%{gdb_version}" < "6.6" +%if "%{gdb_version}" < "6.7" %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif @@ -64,9 +64,6 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 -%if "avr-rtems4.9" == "sparc-rtems4.9" -BuildConflicts: libtermcap-devel termcap-devel -%endif Requires: rtems-4.9-gdb-common @@ -74,7 +71,7 @@ Requires: rtems-4.9-gdb-common Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 %{?_without_sources:NoSource: 0} %if "%{gdb_version}" == "6.8" -Patch0: gdb-6.8-rtems4.9-20080428.diff +Patch0: gdb-6.8-rtems4.9-20080429.diff %endif %description @@ -85,10 +82,9 @@ GDB for target avr-rtems4.9 %setup -q -D -T -n %{name}-%{version} -a0 cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} -%{?PATCH1:%patch1 -p1} cd .. -%if "%{gdb_version}" >= "6.8" +%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline rm -f gdb-%{gdb_version}/readline/configure %endif |