binutils/binutils.spec

changeset 331
44acfa481149
parent 69
84180bd0cb45
child 425
7543b0b3134d
     1.1 --- a/binutils/binutils.spec	Sat Mar 26 17:30:52 2011 +0100
     1.2 +++ b/binutils/binutils.spec	Sat Mar 26 17:31:59 2011 +0100
     1.3 @@ -1,6 +1,6 @@
     1.4  ##
     1.5  ##  binutils.spec -- OpenPKG RPM Package Specification
     1.6 -##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
     1.7 +##  Copyright (c) 2000-2010 OpenPKG Foundation e.V. <http://openpkg.net/>
     1.8  ##
     1.9  ##  Permission to use, copy, modify, and distribute this software for
    1.10  ##  any purpose with or without fee is hereby granted, provided that
    1.11 @@ -31,8 +31,8 @@
    1.12  Class:        CORE
    1.13  Group:        Compiler
    1.14  License:      GPL
    1.15 -Version:      2.18
    1.16 -Release:      20090106
    1.17 +Version:      2.21
    1.18 +Release:      20101212
    1.19  
    1.20  #   list of sources
    1.21  Source0:      ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
    1.22 @@ -41,8 +41,8 @@
    1.23  #   build information
    1.24  Prefix:       %{l_prefix}
    1.25  BuildRoot:    %{l_buildroot}
    1.26 -BuildPreReq:  OpenPKG, openpkg >= 20060419, make
    1.27 -PreReq:       OpenPKG, openpkg >= 20060419
    1.28 +BuildPreReq:  OpenPKG, openpkg >= 20060823, make
    1.29 +PreReq:       OpenPKG, openpkg >= 20060823
    1.30  AutoReq:      no
    1.31  AutoReqProv:  no
    1.32  
    1.33 @@ -96,6 +96,8 @@
    1.34      CONFIG_SHELL="%{l_bash}" \
    1.35      ./configure \
    1.36          --prefix=%{l_prefix} \
    1.37 +        --mandir=%{l_prefix}/man \
    1.38 +        --infodir=%{l_prefix}/info \
    1.39          --includedir=%{l_prefix}/include/binutils \
    1.40          --libdir=%{l_prefix}/lib/binutils \
    1.41          --disable-werror \
    1.42 @@ -103,7 +105,7 @@
    1.43          $ARGS
    1.44  
    1.45      #   build package
    1.46 -    %{l_make} %{l_mflags}
    1.47 +    %{l_make} %{l_mflags} GREP="grep"
    1.48  
    1.49  %install
    1.50      rm -rf $RPM_BUILD_ROOT
    1.51 @@ -112,6 +114,8 @@
    1.52      %{l_make} %{l_mflags} install \
    1.53          prefix=$RPM_BUILD_ROOT%{l_prefix} \
    1.54          exec_prefix=$RPM_BUILD_ROOT%{l_prefix} \
    1.55 +        mandir=$RPM_BUILD_ROOT%{l_prefix}/man \
    1.56 +        infodir=$RPM_BUILD_ROOT%{l_prefix}/info \
    1.57          includedir=$RPM_BUILD_ROOT%{l_prefix}/include/binutils \
    1.58          libdir=$RPM_BUILD_ROOT%{l_prefix}/lib/binutils
    1.59  
    1.60 @@ -143,6 +147,7 @@
    1.61      rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/dlltool.1
    1.62      rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/nlmconv.1
    1.63      rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/windres.1
    1.64 +    rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/windmc.1
    1.65      rm -rf $RPM_BUILD_ROOT%{l_prefix}/*-*-*
    1.66      rm -rf $RPM_BUILD_ROOT%{l_prefix}/bin/c++filt
    1.67      strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true

mercurial