[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    [golang-github-gorilla-context/el6] handle el6 arch and defattr separately
From:       lsm5 <lsm5 () fedoraproject ! org>
Date:       2014-07-31 23:25:27
Message-ID: 20140731232527.931F1243B7 () pkgs01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

commit aaaaac76549eefd19312df125690d3d484eb91c7
Author: Lokesh Mandvekar <lsm5@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@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@fedoraproject.org> - 0-0.26.git
 - disable debuginfo
 
-- 
scm-commits mailing list
scm-commits@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/scm-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic