[golang-github-gorilla-context/f19] handle el6 arch and defattr separately

lsm5 lsm5 at fedoraproject.org
Thu Jul 31 23:12:49 UTC 2014


commit 7b9f2af9858bf4f1946ed762e6d7f7ff0e132112
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date:   Thu Jul 31 17:52:09 2014 -0500

    handle el6 arch and defattr separately

 golang-github-gorilla-context.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/golang-github-gorilla-context.spec b/golang-github-gorilla-context.spec
index d16c2be..6e6718d 100644
--- a/golang-github-gorilla-context.spec
+++ b/golang-github-gorilla-context.spec
@@ -5,16 +5,12 @@
 
 Name:           golang-github-gorilla-context
 Version:        0
-Release:        0.26.git%{shortcommit}%{?dist}
+Release:        0.27.git%{shortcommit}%{?dist}
 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
-%if 0%{?fedora}
 BuildArch:      noarch
-%else
-ExclusiveArch:  %{go_arches}
-%endif
 
 %description
 Package gorilla/context stores values shared during a request lifetime.
@@ -55,13 +51,16 @@ 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 %attr(755,root,root) %{gopath}/src/github.com/gorilla
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
+%dir %{gopath}/src/github.com/gorilla
+%dir %{gopath}/src/%{import_path}
 %{gopath}/src/%{import_path}/*.go
 
 %changelog
+* Thu Jul 31 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.27.git
+- remove conditionals for arch specification (handle el6 separately)
+- defattr only for el6
+
 * Thu Jul 24 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.26.git
 - disable debuginfo
 


More information about the scm-commits mailing list