diff options
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.spec | 28 |
1 files changed, 22 insertions, 6 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 f2815bc7ef..f3d7e079d1 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,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-bfin-rtems4.11-gdb Summary: Gdb for target bfin-rtems4.11 @@ -91,6 +91,20 @@ 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 +%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 + +%if "%{gdb_version}" == "7.3.1" BuildRequires: rtems-4.11-bfin-rtems4.11-binutils BuildRequires: texinfo @@ -99,10 +113,6 @@ BuildRequires: texinfo # Force not building the GUI. %{!?suse:BuildConflicts: SDL-devel} %{?suse:BuildConflicts: libSDL-devel} - -%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 %endif %description @@ -184,6 +194,12 @@ cd .. rm -rf ${RPM_BUILD_ROOT}%{_datadir}/bfin-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~ |