[packages/crossnacl-gcc] - 32bit fixes

draenog draenog at pld-linux.org
Fri Jul 6 18:06:40 CEST 2012


commit d61b80ce2a2511ced071581b5809eaf86f0ee20f
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Jul 6 14:25:13 2012 +0000

    - 32bit fixes
    
    Changed files:
        crossnacl-gcc.spec -> 1.8

 crossnacl-gcc.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/crossnacl-gcc.spec b/crossnacl-gcc.spec
index 7113449..aa8190a 100644
--- a/crossnacl-gcc.spec
+++ b/crossnacl-gcc.spec
@@ -6,7 +6,7 @@
 Summary:	Various compilers (C, C++) for nacl
 Name:		crossnacl-gcc
 Version:	4.4.3
-Release:	2.git%{gitver}
+Release:	3.git%{gitver}
 # Generated from git
 # git clone http://git.chromium.org/native_client/nacl-gcc.git
 # (Checkout ID taken from chromium-15.0.874.106/native_client/tools/REVISIONS)
@@ -170,9 +170,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/%{target}-gccbug
 %attr(755,root,root) %{_bindir}/%{target}-gcov
 
+%if "%{_lib}" != "lib"
 %dir %{_prefix}/lib/gcc
 %dir %{_prefix}/lib/gcc/%{target}
 %dir %{gccnlib}
+%endif
+
 %{gccnlib}/*.[ao]
 %{gccnlib}/include
 
@@ -186,8 +189,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{gcclib}/cc1
 %attr(755,root,root) %{gcclib}/collect2
 
+%if "%{_lib}" != "lib"
+# not present on ix86, not needed?
 %dir %{gcclib}/install-tools
 %attr(755,root,root) %{gcclib}/install-tools/*
+%endif
 
 %{_mandir}/man1/%{target}-cpp.*
 %{_mandir}/man1/%{target}-gcc.*


More information about the test mailing list