]> git.pld-linux.org Git - packages/binutils.git/blobdiff - binutils.spec
- back to hjl versions, updated to 2.16.90.0.1 (but libstdc++ linking is still broken)
[packages/binutils.git] / binutils.spec
index 903e566ebbdc8e12e4e5f9ad98793edf85601d29..48b44483769c452283157ae377f0e5854406a5b6 100644 (file)
@@ -1,3 +1,4 @@
+# TODO: broken ld? (linking with libs linked with libstdc++ fails on libgcc_s symbols)
 #
 # Conditional build:
 %bcond_with    allarchs        # enable all targets
@@ -13,23 +14,24 @@ Summary(ru):        
 Summary(tr):   GNU geliþtirme araçlarý
 Summary(uk):   îÁ¦Ҡ¦ÎÓÔÒÕÍÅÎԦנGNU ÄÌÑ ÐÏÂÕÄÏ×É ×ÉËÏÎÕ×ÁÎÉÈ ÐÒÏÇÒÁÍ
 Name:          binutils
-Version:       2.15.90.0.1
-Release:       1
+Version:       2.16.90.0.1
+Release:       0.1
 Epoch:         2
 License:       GPL
 Group:         Development/Tools
 Source0:       ftp://ftp.kernel.org/pub/linux/devel/binutils/%{name}-%{version}.tar.bz2
-# Source0-md5: 4558a086c778915da83bc58ad540f4c0
+# Source0-md5: b231856d84a6181572b0b3371cfc6843
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: a717d9707ec77d82acb6ec9078c472d6
 Patch0:                %{name}-gasp.patch
 Patch1:                %{name}-info.patch
-Patch2:                %{name}-array-sects-compat.patch
-Patch3:                %{name}-eh-frame-ro.patch
-Patch4:                %{name}-ia64-bootstrap.patch
-Patch5:                %{name}-libtool-relink.patch
+Patch2:                %{name}-libtool-relink.patch
+Patch3:                %{name}-pt_pax_flags.patch
+Patch4:                %{name}-mips-relocs.patch
+Patch5:                %{name}-flex.patch
 URL:           http://sources.redhat.com/binutils/
-BuildRequires: automake
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.8.2
 BuildRequires: bison
 BuildRequires: flex
 BuildRequires: gettext-devel
@@ -61,7 +63,7 @@ Binutils is a collection of binary utilities, including:
 - nlmconv - convert object code into an NLM.
 
 %description -l es
-binutils es una colectánea de utilitarios necesarios para compilar
+Binutils es una colección de utilitarios necesarios para compilar
 programas. Incluye assembler y linker, así como varios otros programas
 para trabajar con formatos que se puedan ejecutar.
 
@@ -90,7 +92,7 @@ binutils - 
 Summary:       GNU Binutils static libraries
 Summary(pl):   Biblioteki statyczne do GNU Binutils
 Group:         Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description static
 Static libraries for GNU Binutils.
@@ -102,7 +104,7 @@ Biblioteki statyczne GNU Binutils.
 Summary:       GASP - old preprocessor for assembly programs
 Summary(pl):   GASP - stary preprocesor dla programów w asemblerze
 Group:         Development/Tools
-Requires:      %{name} = %{epoch}:%{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description gasp
 GASP - old preprocessor for assembly programs. It's officially
@@ -117,15 +119,20 @@ niekt
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%ifarch %{ix86}
 %patch2 -p1
-%endif
+%patch3 -p1
+%patch4 -p0
 %patch5 -p1
-# need update:
-#%patch3 -p1
-#%patch4 -p1
 
 %build
+# non-standard regeneration (needed because of gasp patch)
+cd gas
+aclocal
+automake --cygnus Makefile
+automake --cygnus doc/Makefile
+autoconf
+cd ..
+
 # More targets
 TARGETS=
 %ifarch ia64
@@ -147,8 +154,9 @@ CC="%{__cc}"; export CC
 sparc32 \
 %endif
 ./configure %{_target_platform} \
-       --enable-shared \
        --disable-debug \
+       --enable-build-warnings=,-Wno-missing-prototypes \
+       --enable-shared \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
        --infodir=%{_infodir} \
@@ -161,8 +169,10 @@ sparc32 \
 %endif
        %{?with_allarchs:--enable-targets=alpha-linux,arm-linux,cris-linux,hppa-linux,i386-linux,ia64-linux,x86_64-linux,m68k-linux,mips-linux,mips64-linux,mips64el-linux,mipsel-linux,ppc-linux,s390-linux,s390x-linux,sh-linux,sparc-linux,sparc64-linux,i386-linuxaout}
 
+%{__make} configure-bfd
+%{__make} headers -C bfd
 %{__make} all info \
-        tooldir=%{_prefix}
+       tooldir=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.07343 seconds and 4 git commands to generate.