Improvements for gdb-6.6/6.7

This commit is contained in:
Ralf Corsepius
2008-04-29 11:40:37 +00:00
parent 9c3c512a92
commit 9bb08afeff
2 changed files with 2 additions and 6 deletions
+1 -4
View File
@@ -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
+1 -2
View File
@@ -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