[golang-github-kr-pty/el6] Bump to upstream 05017fcccf23c823bfdea560dcc958a136e54fb7 - related: #1001396

Jan Chaloupka jchaloup at fedoraproject.org
Wed Feb 25 20:42:02 UTC 2015


commit 1cba89f35acae1dff40ab6cca4f3b7ceae5536ee
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Wed Feb 25 21:10:06 2015 +0100

    Bump to upstream 05017fcccf23c823bfdea560dcc958a136e54fb7
    - related: #1001396

 .gitignore                |  4 +---
 golang-github-kr-pty.spec | 31 +++++++++++++++++--------------
 sources                   |  2 +-
 3 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d14af05..d1d89e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-/pty-27435c6.tar.gz
-/pty-3b1f648.tar.gz
-/pty-67e2db2.tar.gz
+/pty-05017fc.tar.gz
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index c415f5d..2ff81f0 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -1,17 +1,20 @@
 %global debug_package   %{nil}
-%global import_path     github.com/kr/pty
-%global gopath          %{_datadir}/gocode
-%global commit          67e2db24c831afa6c64fc17b4a143390674365ef
+%global provider        github
+%global provider_tld    com
+%global project         kr
+%global repo            pty
+%global import_path     %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit          05017fcccf23c823bfdea560dcc958a136e54fb7
 %global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
 Name:           golang-github-kr-pty
 Version:        0
-Release:        0.19.git%{shortcommit}%{?dist}
+Release:        0.22.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
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 BuildArch:      noarch
 %else
 ExclusiveArch:  %{ix86} x86_64 %{arm}
@@ -21,8 +24,8 @@ ExclusiveArch:  %{ix86} x86_64 %{arm}
 Pty is a Go package for using UNIX pseudo-terminals.
 
 %package devel
-BuildRequires:  golang
-Requires:       golang
+BuildRequires:  golang >= 1.2.1-3
+Requires:       golang >= 1.2.1-3
 Summary:        PTY interface for Go
 Provides:       golang(%{import_path}) = %{version}-%{release}
 
@@ -33,7 +36,7 @@ This package contains library source intended for building other packages
 which use kr/pty.
 
 %prep
-%setup -n pty-%{commit}
+%setup -q -n %{repo}-%{commit}
 
 %build
 
@@ -44,14 +47,14 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
 %files devel
 %defattr(-,root,root,-)
 %doc License README.md
-%dir %attr(755,root,root) %{gopath}
-%dir %attr(755,root,root) %{gopath}/src
-%dir %attr(755,root,root) %{gopath}/src/github.com
-%dir %attr(755,root,root) %{gopath}/src/github.com/kr
-%dir %attr(755,root,root) %{gopath}/src/github.com/kr/pty
-%{gopath}/src/%{import_path}/*.go
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%{gopath}/src/%{import_path}
 
 %changelog
+* Wed Feb 25 2015 jchaloup <jchaloup at redhat.com> - 0-0.22.git05017fc
+- Bump to upstream 05017fcccf23c823bfdea560dcc958a136e54fb7
+  related: #1001396
+
 * Sat May 31 2014 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.19.git
 - update to commit 67e2db24c8 (required for docker 1.0
 https://github.com/dotcloud/docker/issues/5908 )
diff --git a/sources b/sources
index 99c0fb5..866ecea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0f50723cbf372a69466f9fcd027ab2da  pty-67e2db2.tar.gz
+34acb1bea76c7b7d9cc47e8ea7498739  pty-05017fc.tar.gz


More information about the scm-commits mailing list