Ignore:
Timestamp:
Sep 18, 2009, 10:39:06 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
679e45d
Parents:
6d41d186
Message:

Regenerate.

File:
1 edited

Legend:

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

    r6d41d186 rc74285e  
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        1%{?dist}
     55Release:        2%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    103103BuildRequires:  %{_host_rpmprefix}termcap-devel
    104104%endif
    105 %endif
    106 BuildRequires:  %{_host_rpmprefix}readline-devel
     105%bcond_with system_readline
     106%endif
     107
     108%if 0%{?fedora} >= 12
     109%bcond_with system_readline
     110%else
     111%bcond_without system_readline
     112%endif
     113%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
    107114BuildRequires:  %{_host_rpmprefix}ncurses-devel
    108115
     
    125132
    126133# A copy of a gdb development snapshot having been retrieved from
    127 # ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb-%{gdb_version}.tar.bz2
     134# ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{gdb_version}.tar.bz2
    128135Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2
    129 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20090917.diff
     136Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20090918.diff
    130137
    131138%description
     
    139146cd ..
    140147
    141 %if "%{gdb_version}" >= "6.7"
    142148# Force using a system-provided libreadline
    143 rm -f gdb-%{gdb_version}/readline/configure
    144 %endif
     149%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure}
    145150%build
    146151  export PATH="%{_bindir}:${PATH}"
     
    159164    --disable-werror \
    160165    %{build_sim} \
    161 %if "%{gdb_version}" >= "6.7"
    162     --with-system-readline \
    163 %endif
     166    %{?with_system_readline:--with-system-readline} \
    164167%if "%{gdb_version}" >= "6.6"
    165168    --with-expat \
Note: See TracChangeset for help on using the changeset viewer.