Changeset a72633f5 in rtems


Ignore:
Timestamp:
Dec 29, 2005, 5:08:12 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
40027d1
Parents:
86fe805
Message:

Remove BuildRoot?. Don't build infos for prefix==/usr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/binutils/binutils.add

    r86fe805 ra72633f5  
    66Summary:        Binutils for target %{binutils_target}
    77Group:          %{rpmgroup}
     8Version:        %{binutils_version}
    89Release:        @Release@
    910License:        GPL/LGPL
    1011URL:            http://sources.redhat.com/binutils
     12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1113
     14%if "%{_prefix}" != "/usr"
     15# Required for building the infos
    1216BuildRequires:  /sbin/install-info
    1317BuildRequires:  texinfo >= 4.2
     18%endif
    1419BuildRequires:  flex
    1520
    16 Version:        %{binutils_version}
    1721Source0:        ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}@binutils_suffix@
    1822@PATCH1@
     
    5761cd ..
    5862
     63%build
    5964  mkdir -p build
    60 
    61 %build
    6265  cd build
    6366  CFLAGS="$RPM_OPT_FLAGS" \
     
    7174
    7275  make all
     76%if "%{_prefix}" != "/usr"
    7377  make info
    74 
     78%endif
     79  cd ..
    7580
    7681%install
     
    8590    mandir=$RPM_BUILD_ROOT%{_mandir} \
    8691    install
     92
     93%if "%{_prefix}" != "/usr"
    8794  make prefix=$RPM_BUILD_ROOT%{_prefix} \
    8895    bindir=$RPM_BUILD_ROOT%{_bindir} \
     
    9299    mandir=$RPM_BUILD_ROOT%{_mandir} \
    93100    install-info
     101%endif
    94102
    95103# A bug in binutils: binutils does not install share/locale
Note: See TracChangeset for help on using the changeset viewer.