Changeset 2cd6377a in rtems


Ignore:
Timestamp:
Oct 7, 2009, 6:52:08 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
7ad77d29
Parents:
fb406b5
Message:

Regenerate.

Location:
contrib/crossrpms/rtems4.10
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-arm-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libarm-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-avr-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libavr-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-h8300-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libh8300-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-i386-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libi386-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-lm32-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/liblm32-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-m32c-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm32c-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-m32r-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm32r-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-m68k-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm68k-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-mips-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmips-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-mipstx39-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmipstx39-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-powerpc-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libpowerpc-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-sh-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsh-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
  • contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec

    rfb406b5 r2cd6377a  
    4646%endif
    4747
    48 %define gdb_version 6.8.92
    49 %define gdb_rpmvers %{expand:%(echo 6.8.92 | tr - _)}
     48%define gdb_version 7.0
     49%define gdb_rpmvers %{expand:%(echo 7.0 | tr - _)}
    5050
    5151Name:           rtems-4.10-sparc-rtems4.10-gdb
     
    127127Requires:       rtems-4.10-gdb-common
    128128
    129 # A copy of a gdb development snapshot having been retrieved from
    130 # ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    131 Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    132 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091001.diff
     129Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
     130Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091007.diff
    133131
    134132%description
     
    199197# host library, installed to a bogus directory
    200198  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsparc-rtems4.10-sim.a
     199
     200%if "%{gdb_version}" >= "7.0"
     201# Bug in gdb-7.0, bogusly installs linux-only files
     202  somethinguseful=0
     203  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     204    case $f in
     205    *linux.xml) rm -f $f;;
     206    *.xml) somethinguseful=1;;
     207    esac
     208  done
     209  if test $somethinguseful -eq 0; then
     210    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     211  fi
     212%endif
    201213
    202214  cd ..
Note: See TracChangeset for help on using the changeset viewer.