Unconditionally BR: %{_host_rpmprefix}gcc.

This commit is contained in:
Ralf Corsepius
2008-03-31 04:38:55 +00:00
parent 23347e9571
commit ad476d6e59
3 changed files with 8 additions and 7 deletions

View File

@@ -11,9 +11,7 @@ License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{_build}" != "%{_host}"
BuildRequires: @rpmprefix@%{_host}-gcc
%endif
BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed

View File

@@ -22,8 +22,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
%if "%{gcc_version}" >= "4.3.0"
BuildRequires: gmp-devel >= 4.1
%if "%{_build}" != "%{_host}"
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
BuildRequires: mpfr-devel >= 2.3.0
%endif
@@ -37,7 +43,6 @@ BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{_build}" != "%{_host}"
BuildRequires: @rpmprefix@%{_host}-gcc
BuildRequires: @rpmprefix@@tool_target@-gcc
%endif

View File

@@ -10,9 +10,7 @@ License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{_build}" != "%{_host}"
BuildRequires: @rpmprefix@%{_host}-gcc
%endif
BuildRequires: %{_host_rpmprefix}gcc
%if "%{gdb_version}" >= "6.6"
# suse