rpms/spu-binutils/devel spu-binutils.spec,1.1,1.2
Jochen Roth
jroth at fedoraproject.org
Mon Oct 20 08:19:19 UTC 2008
Author: jroth
Update of /cvs/pkgs/rpms/spu-binutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9411
Modified Files:
spu-binutils.spec
Log Message:
Install binutils needed by spu-gcc in /usr/spu/bin (BZ 467056)
Index: spu-binutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/spu-binutils/devel/spu-binutils.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- spu-binutils.spec 6 Oct 2008 10:28:42 -0000 1.1
+++ spu-binutils.spec 20 Oct 2008 08:18:49 -0000 1.2
@@ -18,7 +18,7 @@
Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.18.50.0.9
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv3+
Group: Development/Tools
URL: http://sources.redhat.com/binutils
@@ -133,7 +133,7 @@
export CFLAGS="$RPM_OPT_FLAGS"
CARGS=
-case %{binutils_target} in i?86*|sparc*|ppc*|s390*)
+case %{binutils_target} in i?86*|sparc*|spu*|ppc*|s390*)
CARGS="$CARGS --enable-64-bit-bfd"
;;
esac
@@ -263,6 +263,10 @@
INPUT ( %{_libdir}/libopcodes.a -lbfd )
EOH
+# This one comes from gcc
+rm -f %{buildroot}%{_infodir}/dir
+rm -rf %{buildroot}%{_prefix}/%{binutils_target}
+
%else # !%{isnative}
# For cross-binutils we drop the documentation.
rm -rf %{buildroot}%{_infodir}
@@ -272,10 +276,6 @@
rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
%endif # !%{isnative}
-# This one comes from gcc
-rm -f %{buildroot}%{_infodir}/dir
-rm -rf %{buildroot}%{_prefix}/%{binutils_target}
-
%find_lang %{?cross}binutils
%find_lang %{?cross}opcodes
%find_lang %{?cross}bfd
@@ -334,7 +334,12 @@
%exclude %{_prefix}/%{_lib}/libbfd.so
%exclude %{_prefix}/%{_lib}/libopcodes.so
%endif
-%if %{isnative}
+%if !%{isnative}
+%dir %{_prefix}/%{binutils_target}/bin
+%dir %{_prefix}/%{binutils_target}/lib
+%{_prefix}/%{binutils_target}/bin/*
+%{_prefix}/%{binutils_target}/lib/ldscripts
+%else # %{isnative}
%{_infodir}/[^b]*info*
%{_infodir}/binutils*info*
@@ -345,9 +350,12 @@
%{_prefix}/%{_lib}/libopcodes.so
%{_prefix}/%{_lib}/lib*.a
%{_infodir}/bfd*info*
-%endif # %{isnative}
+%endif # !%{isnative}
%changelog
+* Thu Oct 16 2008 Jochen Roth <jroth at linux.vnet.ibm.com> 2.18.50.0.9-7
+- Install binutils in /usr/spu/bin/ needed by spu-gcc (BZ 467056)
+
* Tue Sep 30 2008 Aidan Delaney <a.j.delaney at brighton.ac.uk> 2.18.50.0.9-6
- Used parameterised binutils.spec as base for spu-binutils (BZ 452211)
More information about the scm-commits
mailing list