[packages/golang: 2/2] - md5

mis mis at pld-linux.org
Wed Mar 13 13:44:37 CET 2013


commit 510be9c2d345a9741919dee4a043da77b9978e63
Author: Pawel Gajda <mis at pld-linux.org>
Date:   Wed Mar 13 13:43:17 2013 +0100

    - md5

 golang.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index a97a430..682a934 100644
--- a/golang.spec
+++ b/golang.spec
@@ -18,13 +18,15 @@ License:	BSD
 Group:		Development/Languages
 URL:		http://golang.org/
 Source0:	http://go.googlecode.com/files/go%{version}.src.tar.gz
+# Source0-md5:	31acddba58b4592242a3c3c16165866b
 BuildRequires:	bison
 BuildRequires:	ed
 BuildRequires:	mercurial
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Go is an open source programming environment that makes it easy to build simple, reliable, and efficient software. 
+Go is an open source programming environment that makes it easy to
+build simple, reliable, and efficient software.
 
 %package vim
 Summary:	go syntax files for vim
@@ -84,7 +86,7 @@ tools="8a 8c 8g 8l"
 %else
 tools="6a 6c 6g 6l"
 %endif
-for tool in $tools; do 
+for tool in $tools; do
   ln -sf %{_libdir}/%{name}/pkg/tool/linux_%{GOARCH}/$tool $RPM_BUILD_ROOT%{_bindir}/$tool
 done
 
@@ -108,7 +110,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS CONTRIBUTORS LICENSE README doc/*
-%{_bindir}/*
+%attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/bin
 %attr(755,root,root) %{_libdir}/%{name}/bin/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/510be9c2d345a9741919dee4a043da77b9978e63



More information about the pld-cvs-commit mailing list