source: rtems/contrib/crossrpms/binutils/binutils.add @ a181ab0

4.9
Last change on this file since a181ab0 was ad476d6e, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 31, 2008 at 4:38:55 AM

Unconditionally BR: %{_host_rpmprefix}gcc.

  • Property mode set to 100644
File size: 1002 bytes
Line 
1%define binutils_pkgvers @BINUTILS_PKGVERS@
2%define binutils_version @BINUTILS_VERS@
3%define binutils_rpmvers %{expand:%(echo "@BINUTILS_VERS@" | tr - _ )}
4
5Name:           @rpmprefix@@tool_target@-binutils
6Summary:        Binutils for target @tool_target@
7Group:          Development/Tools
8Version:        %{binutils_rpmvers}
9Release:        @BINUTILS_RPMREL@
10License:        GPL/LGPL
11URL:            http://sources.redhat.com/binutils
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14BuildRequires:  %{_host_rpmprefix}gcc
15
16%if "%{binutils_version}" >= "2.18"
17# Bug in bfd: Doesn't build without texinfo installed
18BuildRequires:  texinfo >= 4.2
19%else
20%if %build_infos
21# Required for building the infos
22BuildRequires:  /sbin/install-info
23BuildRequires:  texinfo >= 4.2
24%else
25%if "@tool_target@" == "i686-pc-cygwin"
26BuildRequires:  texinfo >= 4.2
27%endif
28%endif
29%endif
30BuildRequires:  flex
31BuildRequires:  bison
32%if %build_infos
33
34Requires:       @rpmprefix@binutils-common
35%endif
36
37@SOURCES@
38
39%description
40Cross binutils for target @tool_target@
Note: See TracBrowser for help on using the repository browser.