[packages/golang] - race detector is available only on x86_64
qboosh
qboosh at pld-linux.org
Wed Aug 21 14:44:03 CEST 2013
commit 79c76325c220ba9ff28f3c0fb688f6d97013c3e0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Aug 21 14:43:18 2013 +0200
- race detector is available only on x86_64
golang.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/golang.spec b/golang.spec
index a0592b3..d821dad 100644
--- a/golang.spec
+++ b/golang.spec
@@ -190,7 +190,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_libdir}/%{name}/pkg/tool
%dir %{_libdir}/%{name}/pkg/tool/linux_%{GOARCH}
%attr(755,root,root) %{_libdir}/%{name}/pkg/tool/linux_%{GOARCH}/*
-
+%ifarch %{x8664}
%dir %{_libdir}/%{name}/pkg/linux_%{GOARCH}_race
%{_libdir}/%{name}/pkg/linux_%{GOARCH}_race/*.a
%{_libdir}/%{name}/pkg/linux_%{GOARCH}_race/regexp
@@ -198,6 +198,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/%{name}/pkg/linux_%{GOARCH}_race/sync
%{_libdir}/%{name}/pkg/linux_%{GOARCH}_race/text
%{_libdir}/%{name}/pkg/linux_%{GOARCH}_race/unicode
+%endif
%files -n vim-syntax-%{name}
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/79c76325c220ba9ff28f3c0fb688f6d97013c3e0
More information about the pld-cvs-commit
mailing list