diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-03-10 13:44:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-03-10 13:44:30 +0000 |
commit | 13501927ccdbde00a74efaa20e77afd21af854ae (patch) | |
tree | 7769c7f8479df66f325e7ed056b83e5c28cc55b3 /contrib/crossrpms/gdb/gdb.add | |
parent | Propagate build_infos to *.spec.ins (diff) | |
download | rtems-13501927ccdbde00a74efaa20e77afd21af854ae.tar.bz2 |
Use %build_infos
Diffstat (limited to 'contrib/crossrpms/gdb/gdb.add')
-rw-r--r-- | contrib/crossrpms/gdb/gdb.add | 7 |
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@ |