summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gdb/gdb.add
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/gdb/gdb.add')
-rw-r--r--contrib/crossrpms/gdb/gdb.add7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add
index ae65a13839..20037d115e 100644
--- a/contrib/crossrpms/gdb/gdb.add
+++ b/contrib/crossrpms/gdb/gdb.add
@@ -1,6 +1,8 @@
%define gdb_version @GDB_VERS@
%define gdb_rpmvers %{expand:%(echo @GDB_VERS@ | tr - _)}
+%define build_infos @build_infos@
+
Name: @rpmprefix@@tool_target@-gdb
Summary: Gdb for target @tool_target@
Group: Development/Tools
@@ -10,13 +12,12 @@ License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%if "%{_prefix}" != "/usr"
+%if %{build_infos}
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%endif
-BuildRequires: flex
-BuildRequires: bison
+BuildRequires: ncurses-devel
@SOURCES@