[golang-github-kr-pty] noarch for f19+ and rhel7+, exclusivearch otherwise

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


commit a84c7944b2074dfdd87b45607128d61659be2eb4
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date:   Tue Oct 8 20:15:53 2013 -0500

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

 golang-github-kr-pty.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index 4eb9b61..6b1a0dc 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -6,12 +6,16 @@
 
 Name:           golang-github-kr-pty
 Version:        0
-Release:        0.13.git%{shortcommit}%{?dist}
+Release:        0.14.git%{shortcommit}%{?dist}
 Summary:        PTY interface for Go
 License:        MIT
 URL:            http://godoc.org/%{import_path}
 Source0:        https://%{import_path}/archive/%{commit}/pty-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch:      noarch
+%else
 ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 Pty is a Go package for using UNIX pseudo-terminals.
@@ -46,8 +50,10 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
 %dir %attr(755,root,root) %{gopath}/src/github.com/kr/pty
 %{gopath}/src/%{import_path}/*.go
 
-
 %changelog
+* Tue Oct 08 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.14.git3b1f648
+- noarch for f19+ and rhel7+, exclusivearch otherwise
+
 * Mon Oct 07 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.13.git3b1f648
 - exclusivearch as per golang
 


More information about the scm-commits mailing list