mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 05:18:30 +08:00
Improvements for gdb-6.6/6.7
This commit is contained in:
@@ -26,7 +26,7 @@ BuildRequires: %{_host_rpmprefix}expat-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" < "6.6"
|
||||
%if "%{gdb_version}" < "6.7"
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: %{_host_rpmprefix}termcap-devel
|
||||
%endif
|
||||
@@ -39,9 +39,6 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
|
||||
BuildRequires: /sbin/install-info
|
||||
BuildRequires: texinfo >= 4.2
|
||||
%endif
|
||||
%if "@tool_target@" == "sparc-rtems@rtems_api@"
|
||||
BuildConflicts: libtermcap-devel termcap-devel
|
||||
%endif
|
||||
|
||||
%if %build_infos
|
||||
|
||||
|
||||
@@ -4,10 +4,9 @@
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%if "%{gdb_version}" >= "6.8"
|
||||
%if "%{gdb_version}" >= "6.7"
|
||||
# Force using a system-provided libreadline
|
||||
rm -f gdb-%{gdb_version}/readline/configure
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user