commit d5c35a4b163655e38c3535aaa352e9f0ed86993c
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Thu Jul 31 18:25:11 2014 -0500
defattr and archfulness for el6
golang-github-gorilla-context.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/golang-github-gorilla-context.spec b/golang-github-gorilla-context.spec
index 6e6718d..271baee 100644
--- a/golang-github-gorilla-context.spec
+++ b/golang-github-gorilla-context.spec
@@ -10,7 +10,7 @@ Summary: A golang registry for global request variables
License: BSD
URL:
http://www.gorillatoolkit.org/pkg/context
Source0: https://%{import_path}/archive/%{commit}/context-%{shortcommit}.tar.gz
-BuildArch: noarch
+ExclusiveArch: %{ix86} x86_64 %{arm}
%description
Package gorilla/context stores values shared during a request lifetime.
@@ -51,6 +51,7 @@ cp -pav *.go %{buildroot}%{gopath}/src/%{import_path}
GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
%files devel
+%defattr(-,root,root,-)
%doc LICENSE README.md
%dir %{gopath}/src/github.com/gorilla
%dir %{gopath}/src/%{import_path}