summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec')
-rw-r--r--contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec25
1 files changed, 11 insertions, 14 deletions
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 22ab789f48..9936e9a074 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
@@ -45,14 +45,14 @@
%define _host_rpmprefix %{nil}
%endif
-%define gdb_version 7.3
-%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
+%define gdb_version 7.3.1
+%define gdb_rpmvers %{expand:%(echo 7.3.1 | tr - _)}
Name: rtems-4.11-bfin-rtems4.11-gdb
Summary: Gdb for target bfin-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 2%{?dist}
+Release: 1%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -91,17 +91,14 @@ BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
Requires: rtems-4.11-gdb-common
-BuildRequires: rtems-4.11-bfin-rtems4.11-binutils
-BuildRequires: texinfo
-
-# The bfin simulator silently tries to conditionally build an SDL based GUI,
-# but fails to link correctly
-# Force not building the GUI.
-%{!?suse:BuildConflicts: SDL-devel}
-%{?suse:BuildConflicts: libSDL-devel}
-
-Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}a.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3.1-rtems4.11-20110905.diff
+%endif
+%if "%{gdb_version}" == "7.2"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
+%endif
%description
GDB for target bfin-rtems4.11