[golang-github-kr-pty] exclusivearch for el6+

Lokesh Mandvekar lsm5 at fedoraproject.org
Fri Jan 17 20:32:25 UTC 2014


commit 5c6be9a5bae59d7cc811800ba404db214fbe18a6
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date:   Fri Jan 17 15:32:39 2014 -0500

    exclusivearch for el6+
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at redhat.com>

 golang-github-kr-pty.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index ae8e165..2a502c2 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -6,12 +6,12 @@
 
 Name:           golang-github-kr-pty
 Version:        0
-Release:        0.17.git%{shortcommit}%{?dist}
+Release:        0.18.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
+%if 0%{?fedora} >= 19
 BuildArch:      noarch
 %else
 ExclusiveArch:  %{ix86} x86_64 %{arm}
@@ -21,6 +21,7 @@ ExclusiveArch:  %{ix86} x86_64 %{arm}
 Pty is a Go package for using UNIX pseudo-terminals.
 
 %package devel
+BuildRequires:  golang
 Requires:       golang
 Summary:        PTY interface for Go
 Provides:       golang(%{import_path}) = %{version}-%{release}
@@ -51,6 +52,9 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
 %{gopath}/src/%{import_path}/*.go
 
 %changelog
+* Wed Jan 15 2014 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.18.git3b1f648
+- exclusivearch for el6+
+
 * Wed Jan 15 2014 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.17.git3b1f648
 - revert golang >= 1.2 version requirement
 


More information about the scm-commits mailing list