summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-13 18:08:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-13 18:08:46 +0000
commitd45c69aad1dbf62a4daff71723b0d6fdd7d734aa (patch)
treea37a046ff446bed79c04181dc39ddd62b0930fe4 /contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec
parentgdb-7.3.91. (diff)
downloadrtems-d45c69aad1dbf62a4daff71723b0d6fdd7d734aa.tar.bz2
Regenerate.
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec14
1 files changed, 12 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 f04919fbb0..913f91f241 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
@@ -45,8 +45,8 @@
%define _host_rpmprefix %{nil}
%endif
-%define gdb_version 7.3.1
-%define gdb_rpmvers %{expand:%(echo 7.3.1 | tr - _)}
+%define gdb_version 7.3.91
+%define gdb_rpmvers %{expand:%(echo 7.3.91 | tr - _)}
Name: rtems-4.11-sparc64-rtems4.11-gdb
Summary: Gdb for target sparc64-rtems4.11
@@ -91,6 +91,10 @@ BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
Requires: rtems-4.11-gdb-common
+%if "%{gdb_version}" == "7.3.91"
+Source0: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb/gdb-7.3.91.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3.91-rtems4.11-20111213.diff
+%endif
%if "%{gdb_version}" == "7.3.1"
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
@@ -179,6 +183,12 @@ cd ..
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/sparc64-rtems4.11-gdb/python
%endif
%endif
+
+%if "%{gdb_version}" == "7.3.91"
+# gdb-7.3.91, installs host files, we don't want
+ rm ${RPM_BUILD_ROOT}%{_includedir}/gdb/jit-reader.h
+%endif
+
cd ..
# Extract %%__os_install_post into os_install_post~