[golang-googlecode-net] noarch for f19+ and rhel7+, exclusivearch otherwise

Lokesh Mandvekar lsm5 at fedoraproject.org
Wed Oct 9 01:18:53 UTC 2013


commit d255514075c7071f7545831c2d0022465200fca4
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date:   Tue Oct 8 20:18:31 2013 -0500

    noarch for f19+ and rhel7+, exclusivearch otherwise
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at redhat.com>

 golang-googlecode-net.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/golang-googlecode-net.spec b/golang-googlecode-net.spec
index 36bcd98..98b5f0c 100644
--- a/golang-googlecode-net.spec
+++ b/golang-googlecode-net.spec
@@ -6,12 +6,16 @@
 
 Name:           golang-googlecode-net
 Version:        0
-Release:        0.8.hg%{shortrev}%{?dist}
+Release:        0.9.hg%{shortrev}%{?dist}
 Summary:        Supplementary Go networking libraries
 License:        BSD
 URL:            http://%{import_path}
 Source0:        https://net.go.googlecode.com/archive/%{rev}.zip
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch:      noarch
+%else
 ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 %{summary}
@@ -89,6 +93,9 @@ done
 %{gopath}/src/%{import_path}/websocket/*.go
 
 %changelog
+* Tue Oct 08 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.9.hg84a4013f96e0
+- noarch for f19+ and rhel7+, exclusivearch otherwise
+
 * Mon Oct 07 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.8.hg84a4013f96e0
 - exclusivearch as per golang package
 - debug_package nil


More information about the scm-commits mailing list