Changeset c74285e in rtems


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.

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

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-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 \
  • contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-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 \
  • contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec

    r6d41d186 rc74285e  
    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
     
    133140cd ..
    134141
    135 %if "%{gdb_version}" >= "6.7"
    136142# Force using a system-provided libreadline
    137 rm -f gdb-%{gdb_version}/readline/configure
    138 %endif
     143%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure}
    139144%build
    140145  export PATH="%{_bindir}:${PATH}"
     
    153158    --disable-werror \
    154159    %{build_sim} \
    155 %if "%{gdb_version}" >= "6.7"
    156     --with-system-readline \
    157 %endif
     160    %{?with_system_readline:--with-system-readline} \
    158161%if "%{gdb_version}" >= "6.6"
    159162    --with-expat \
  • contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-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 \
  • contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-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 \
  • 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 \
  • contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-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 \
  • contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-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 \
  • contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-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 \
  • contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-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 \
  • contrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-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 \
  • contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-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 \
  • contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-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 \
  • contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-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.