summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/gdb')
-rw-r--r--contrib/crossrpms/gdb/gdb.add15
1 files changed, 8 insertions, 7 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add
index ab20d477bf..2096382af2 100644
--- a/contrib/crossrpms/gdb/gdb.add
+++ b/contrib/crossrpms/gdb/gdb.add
@@ -26,6 +26,14 @@ BuildRequires: %{_host_rpmprefix}expat-devel
%endif
%endif
+%if "%{gdb_version}" < "6.6"
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}termcap-devel
+%endif
+%endif
+BuildRequires: %{_host_rpmprefix}readline-devel
+BuildRequires: %{_host_rpmprefix}ncurses-devel
+
%if %build_infos
# Required for building the infos
BuildRequires: /sbin/install-info
@@ -34,13 +42,6 @@ BuildRequires: texinfo >= 4.2
%if "@tool_target@" == "sparc-rtems@rtems_api@"
BuildConflicts: libtermcap-devel termcap-devel
%endif
-%if "%{gdb_version}" < "6.6"
-%if "%{_build}" != "%{_host}"
-BuildRequires: %{_host_rpmprefix}termcap-devel
-%endif
-%endif
-BuildRequires: %{_host_rpmprefix}readline-devel
-BuildRequires: %{_host_rpmprefix}ncurses-devel
%if %build_infos