[golang-github-codegangsta-cli/el6: 4/4] el6 specific changes
lsm5
lsm5 at fedoraproject.org
Wed Jul 30 23:34:15 UTC 2014
commit 6199a4f6169e9f4b4c1bef0749f6846c2596c08e
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date: Wed Jul 30 18:34:02 2014 -0500
el6 specific changes
golang-github-codegangsta-cli.spec | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/golang-github-codegangsta-cli.spec b/golang-github-codegangsta-cli.spec
index 63a96b3..5c86487 100644
--- a/golang-github-codegangsta-cli.spec
+++ b/golang-github-codegangsta-cli.spec
@@ -10,7 +10,7 @@ Summary: Package for building command line apps in Go
License: MIT
URL: https://%{import_path}
Source0: https://%{import_path}/archive/%{version}.tar.gz
-BuildArch: noarch
+ExclusiveArch: %{ix86} x86_64 %{arm}
%description
cli.go is simple, fast, and fun package for building command line apps in Go.
@@ -45,9 +45,10 @@ 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/codegangsta
-%dir %{gopath}/src/%{import_path}
+%dir %attr(755,root,root) %{gopath}/src/github.com/codegangsta
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}
%{gopath}/src/%{import_path}/*.go
%changelog
More information about the scm-commits
mailing list