[golang-github-kr-pty] Bump to upstream 05017fcccf23c823bfdea560dcc958a136e54fb7 - related: #1001396
Jan Chaloupka
jchaloup at fedoraproject.org
Wed Feb 25 20:41:57 UTC 2015
commit 3a52de7c31a944da7048be00edc8f40e322ebdc9
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 | 30 ++++++++++++++++++++----------
sources | 2 +-
3 files changed, 22 insertions(+), 14 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 e6d6b0b..063f231 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -1,24 +1,31 @@
%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.21.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 || 0%{?rhel} >= 7
BuildArch: noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm}
+%endif
%description
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}
@@ -29,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
@@ -39,11 +46,14 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
%files devel
%doc License README.md
-%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
+
* Thu Jul 31 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0.21.git
- do not own dirs owned by golang
- archfulness and defattr for el6 only
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