]> git.pld-linux.org Git - packages/binutils.git/blobdiff - binutils.spec
- switch ld to gold, tested samba and heimdal, build fine here
[packages/binutils.git] / binutils.spec
index 9c8081073887376e87e99dba03ff0aa01ef5517b..a272fadbbe8babf783fc8964de6fa7e6d3ef7919 100644 (file)
@@ -5,7 +5,7 @@
                                # http://sourceware.org/ml/binutils/2008-03/msg00162.html
 %bcond_without pax             # without PaX flags (for upstream bugreports)
 %bcond_without gold            # don't build gold (no C++ dependencies)
-%bcond_without default_ld      # default ld instead of gold
+%bcond_with    default_ld      # default ld instead of gold
 %bcond_without tests
 
 %ifnarch %{ix86} %{x8664}
@@ -22,15 +22,13 @@ Summary(ru.UTF-8):  Набор инструментов GNU для построе
 Summary(tr.UTF-8):     GNU geliştirme araçları
 Summary(uk.UTF-8):     Набір інструментів GNU для побудови виконуваних програм
 Name:          binutils
-Version:       2.23.51.0.3
-Release:       2
+Version:       2.23.52.0.1
+Release:       1
 Epoch:         3
 License:       GPL v3+
 Group:         Development/Tools
-# http://git.kernel.org/?p=linux/kernel/git/hjl/binutils.git;a=summary
-# git archive --prefix=binutils-2.22.51.0.1/ -o binutils-2.22.51.0.1.tar remotes/origin/linux/release/2.22.51.0.1
-Source0:       http://www.kernel.org/pub/linux/devel/binutils/%{name}-%{version}.tar.bz2
-# Source0-md5: 0f81033f89158111aeaf60e528a8dfd6
+Source0:       http://www.kernel.org/pub/linux/devel/binutils/%{name}-%{version}.tar.xz
+# Source0-md5: d7f4b386c8849ed35149a8e5b72252ae
 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
@@ -43,6 +41,7 @@ Patch7:               %{name}-libtool-m.patch
 Patch8:                %{name}-build-id.patch
 Patch9:                %{name}-tooldir.patch
 Patch10:       %{name}-sanity-check.patch
+Patch11:       %{name}-am.patch
 URL:           http://sources.redhat.com/binutils/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
@@ -55,7 +54,9 @@ BuildRequires:        perl-tools-pod
 %ifarch sparc sparc32
 BuildRequires: sparc32
 %endif
+BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo >= 4.2
+BuildRequires: xz
 BuildRequires: zlib-devel
 %{?with_tests:BuildRequires:   zlib-static}
 Conflicts:     gcc-c++ < 5:3.3
@@ -165,9 +166,10 @@ niektórych pakietów.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p0
+%patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 # file contains hacks for ac 2.59 only
 %{__rm} config/override.m4
@@ -199,7 +201,7 @@ TARGETS=x86_64-linux
 %ifarch sparc
 TARGETS=sparc64-linux
 %endif
-%ifarch x86_64
+%ifarch %{x8664}
 TARGETS="x86_64-pep"
 %endif
 %{?addtargets:TARGETS="%{addtargets}"}
@@ -309,6 +311,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/ld.bfd
 %if %{with gold}
 %attr(755,root,root) %{_bindir}/ld.gold
+%attr(755,root,root) %{_bindir}/dwp
 %endif
 %attr(755,root,root) %{_bindir}/nm
 %attr(755,root,root) %{_bindir}/objcopy
This page took 0.119736 seconds and 4 git commands to generate.