[golang-github-kr-pty/epel7] exclusivearch for el6+
by Lokesh Mandvekar
commit d9a6c9ce167763eeeac9f69a250d03407448c50e
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:32:39 2014 -0500
exclusivearch for el6+
Signed-off-by: Lokesh Mandvekar <lsm5(a)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(a)redhat.com> 0-0.18.git3b1f648
+- exclusivearch for el6+
+
* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.17.git3b1f648
- revert golang >= 1.2 version requirement
10 years, 4 months
[golang-github-kr-pty/epel7] revert golang >= 1.2 version requirement
by Lokesh Mandvekar
commit 0e6cf172e17b04d858220f107e2fe258aee23329
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Wed Jan 15 16:48:21 2014 -0500
revert golang >= 1.2 version requirement
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-github-kr-pty.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index bb1936c..ae8e165 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -6,7 +6,7 @@
Name: golang-github-kr-pty
Version: 0
-Release: 0.16.git%{shortcommit}%{?dist}
+Release: 0.17.git%{shortcommit}%{?dist}
Summary: PTY interface for Go
License: MIT
URL: http://godoc.org/%{import_path}
@@ -21,7 +21,7 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
Pty is a Go package for using UNIX pseudo-terminals.
%package devel
-Requires: golang >= 1.2
+Requires: golang
Summary: PTY interface for Go
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -51,6 +51,9 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
%{gopath}/src/%{import_path}/*.go
%changelog
+* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.17.git3b1f648
+- revert golang >= 1.2 version requirement
+
* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.16.git3b1f648
- require golang 1.2 and up
10 years, 4 months
[golang-googlecode-net/el6] exclusive arch for el6+, add check
by Lokesh Mandvekar
commit 370b18e805c4aee8d74f4b48e3b262cc0f17db2c
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:18:52 2014 -0500
exclusive arch for el6+, add check
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-googlecode-net.spec | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/golang-googlecode-net.spec b/golang-googlecode-net.spec
index da5dafc..ef6af20 100644
--- a/golang-googlecode-net.spec
+++ b/golang-googlecode-net.spec
@@ -6,12 +6,12 @@
Name: golang-googlecode-net
Version: 0
-Release: 0.12.hg%{shortrev}%{?dist}
+Release: 0.13.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
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -21,6 +21,7 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
%{summary}
%package devel
+BuildRequires: golang
Requires: golang
Summary: Supplementary Go networking libraries
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -55,6 +56,17 @@ for d in dict html idna ipv4 ipv6 proxy publicsuffix spdy websocket; do
cp -av $d %{buildroot}/%{gopath}/src/%{import_path}/
done
+%check
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/html
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/html/atom
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/idna
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/ipv4
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/ipv6
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/proxy
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/publicsuffix
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/spdy
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/websocket
+
%files devel
%defattr(-,root,root,-)
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS README
@@ -93,6 +105,10 @@ done
%{gopath}/src/%{import_path}/websocket/*.go
%changelog
+* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.13.hg84a4013f96e0
+- golang exclusivearch for el6+
+- add check
+
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.12.hg84a4013f96e0
- revert golang >= 1.2 version requirement
10 years, 4 months
[golang-github-syndtr-gocapability/f20] exclusivearch for el6+
by Lokesh Mandvekar
commit 8735388e8e35a025ee56d2ced8f24a6e1a0cd285
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:24:31 2014 -0500
exclusivearch for el6+
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-github-syndtr-gocapability.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/golang-github-syndtr-gocapability.spec b/golang-github-syndtr-gocapability.spec
index c4113be..a779600 100644
--- a/golang-github-syndtr-gocapability.spec
+++ b/golang-github-syndtr-gocapability.spec
@@ -6,7 +6,7 @@
Name: golang-github-syndtr-gocapability
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: POSIX capability library for the Go programming language
License: BSD
URL: %{import_path}
@@ -19,7 +19,7 @@ Source0: https://github.com/syndtr/gocapability/archive/%{commit}/gocapab
BuildRequires: golang
Requires: golang
Summary: Source for POSIX capability for the Go programming language
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -44,9 +44,6 @@ cp -av capability %{buildroot}/%{gopath}/src/%{import_path}/
%check
GOPATH=%{buildroot}/%{gopath} go test %{import_path}/capability
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files devel
%defattr(-,root,root,-)
%doc LICENSE
@@ -57,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%{gopath}/src/%{import_path}/capability/*.go
%changelog
+* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.5.git3454319
+- exclusivearch for el6+
+
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.4.git3454319
- require golang as runtime dep
10 years, 4 months
[golang-github-gorilla-context/f20] exclusivearch for el6+, add check
by Lokesh Mandvekar
commit aa0ad3c587fbd91c67d7666f06aecbc30f540775
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 14:49:12 2014 -0500
exclusivearch for el6+, add check
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-github-gorilla-context.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/golang-github-gorilla-context.spec b/golang-github-gorilla-context.spec
index c31f4d9..aa9502d 100644
--- a/golang-github-gorilla-context.spec
+++ b/golang-github-gorilla-context.spec
@@ -6,12 +6,12 @@
Name: golang-github-gorilla-context
Version: 0
-Release: 0.21.git%{shortcommit}%{?dist}
+Release: 0.22.git%{shortcommit}%{?dist}
Summary: A golang registry for global request variables
License: BSD
URL: http://www.gorillatoolkit.org/pkg/context
Source0: https://%{import_path}/archive/%{commit}/context-%{shortcommit}.tar.gz
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -26,6 +26,7 @@ sessions values to be saved at the end of a request. There are several
other common uses.
%package devel
+BuildRequires: golang
Requires: golang
Summary: A golang registry for global request variables
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -50,6 +51,9 @@ which use gorilla/context.
install -d %{buildroot}/%{gopath}/src/%{import_path}
cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
+%check
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}
+
%files devel
%defattr(-,root,root,-)
%doc LICENSE README.md
@@ -61,6 +65,10 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
%{gopath}/src/%{import_path}/*.go
%changelog
+* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.22.git708054d
+- golang exclusivearch for el6+
+- add check
+
* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.21.git708054d
- revert golang 1.2 requirement
10 years, 4 months
[golang-googlecode-net/epel7] exclusive arch for el6+, add check
by Lokesh Mandvekar
commit 71b99b96a8b9c93d2a24fd24ee1b8d4a3be57712
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:18:52 2014 -0500
exclusive arch for el6+, add check
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-googlecode-net.spec | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/golang-googlecode-net.spec b/golang-googlecode-net.spec
index da5dafc..ef6af20 100644
--- a/golang-googlecode-net.spec
+++ b/golang-googlecode-net.spec
@@ -6,12 +6,12 @@
Name: golang-googlecode-net
Version: 0
-Release: 0.12.hg%{shortrev}%{?dist}
+Release: 0.13.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
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -21,6 +21,7 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
%{summary}
%package devel
+BuildRequires: golang
Requires: golang
Summary: Supplementary Go networking libraries
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -55,6 +56,17 @@ for d in dict html idna ipv4 ipv6 proxy publicsuffix spdy websocket; do
cp -av $d %{buildroot}/%{gopath}/src/%{import_path}/
done
+%check
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/html
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/html/atom
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/idna
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/ipv4
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/ipv6
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/proxy
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/publicsuffix
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/spdy
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/websocket
+
%files devel
%defattr(-,root,root,-)
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS README
@@ -93,6 +105,10 @@ done
%{gopath}/src/%{import_path}/websocket/*.go
%changelog
+* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.13.hg84a4013f96e0
+- golang exclusivearch for el6+
+- add check
+
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.12.hg84a4013f96e0
- revert golang >= 1.2 version requirement
10 years, 4 months
[golang-github-kr-pty] exclusivearch for el6+
by Lokesh Mandvekar
commit 5c6be9a5bae59d7cc811800ba404db214fbe18a6
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:32:39 2014 -0500
exclusivearch for el6+
Signed-off-by: Lokesh Mandvekar <lsm5(a)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(a)redhat.com> 0-0.18.git3b1f648
+- exclusivearch for el6+
+
* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.17.git3b1f648
- revert golang >= 1.2 version requirement
10 years, 4 months
[golang-github-syndtr-gocapability] exclusivearch for el6+
by Lokesh Mandvekar
commit 0267971f3899433a92452e89b891cba4b1f08d01
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:24:31 2014 -0500
exclusivearch for el6+
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-github-syndtr-gocapability.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/golang-github-syndtr-gocapability.spec b/golang-github-syndtr-gocapability.spec
index c4113be..a779600 100644
--- a/golang-github-syndtr-gocapability.spec
+++ b/golang-github-syndtr-gocapability.spec
@@ -6,7 +6,7 @@
Name: golang-github-syndtr-gocapability
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: POSIX capability library for the Go programming language
License: BSD
URL: %{import_path}
@@ -19,7 +19,7 @@ Source0: https://github.com/syndtr/gocapability/archive/%{commit}/gocapab
BuildRequires: golang
Requires: golang
Summary: Source for POSIX capability for the Go programming language
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -44,9 +44,6 @@ cp -av capability %{buildroot}/%{gopath}/src/%{import_path}/
%check
GOPATH=%{buildroot}/%{gopath} go test %{import_path}/capability
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files devel
%defattr(-,root,root,-)
%doc LICENSE
@@ -57,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%{gopath}/src/%{import_path}/capability/*.go
%changelog
+* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.5.git3454319
+- exclusivearch for el6+
+
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.4.git3454319
- require golang as runtime dep
10 years, 4 months
[golang-googlecode-net] exclusive arch for el6+, add check
by Lokesh Mandvekar
commit f212b2f0279492ba362d5c9de0d5741d2fdf9f44
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:18:52 2014 -0500
exclusive arch for el6+, add check
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-googlecode-net.spec | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/golang-googlecode-net.spec b/golang-googlecode-net.spec
index da5dafc..ef6af20 100644
--- a/golang-googlecode-net.spec
+++ b/golang-googlecode-net.spec
@@ -6,12 +6,12 @@
Name: golang-googlecode-net
Version: 0
-Release: 0.12.hg%{shortrev}%{?dist}
+Release: 0.13.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
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -21,6 +21,7 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
%{summary}
%package devel
+BuildRequires: golang
Requires: golang
Summary: Supplementary Go networking libraries
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -55,6 +56,17 @@ for d in dict html idna ipv4 ipv6 proxy publicsuffix spdy websocket; do
cp -av $d %{buildroot}/%{gopath}/src/%{import_path}/
done
+%check
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/html
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/html/atom
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/idna
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/ipv4
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/ipv6
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/proxy
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/publicsuffix
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/spdy
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}/websocket
+
%files devel
%defattr(-,root,root,-)
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS README
@@ -93,6 +105,10 @@ done
%{gopath}/src/%{import_path}/websocket/*.go
%changelog
+* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.13.hg84a4013f96e0
+- golang exclusivearch for el6+
+- add check
+
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.12.hg84a4013f96e0
- revert golang >= 1.2 version requirement
10 years, 4 months
[golang-github-gorilla-context/el6] exclusivearch for el6+, add check
by Lokesh Mandvekar
commit be30d9489509e8e7baf5c42fa646aec6aab87900
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 14:49:12 2014 -0500
exclusivearch for el6+, add check
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-github-gorilla-context.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/golang-github-gorilla-context.spec b/golang-github-gorilla-context.spec
index c31f4d9..aa9502d 100644
--- a/golang-github-gorilla-context.spec
+++ b/golang-github-gorilla-context.spec
@@ -6,12 +6,12 @@
Name: golang-github-gorilla-context
Version: 0
-Release: 0.21.git%{shortcommit}%{?dist}
+Release: 0.22.git%{shortcommit}%{?dist}
Summary: A golang registry for global request variables
License: BSD
URL: http://www.gorillatoolkit.org/pkg/context
Source0: https://%{import_path}/archive/%{commit}/context-%{shortcommit}.tar.gz
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -26,6 +26,7 @@ sessions values to be saved at the end of a request. There are several
other common uses.
%package devel
+BuildRequires: golang
Requires: golang
Summary: A golang registry for global request variables
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -50,6 +51,9 @@ which use gorilla/context.
install -d %{buildroot}/%{gopath}/src/%{import_path}
cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
+%check
+GOPATH=%{buildroot}/%{gopath} go test %{import_path}
+
%files devel
%defattr(-,root,root,-)
%doc LICENSE README.md
@@ -61,6 +65,10 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
%{gopath}/src/%{import_path}/*.go
%changelog
+* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.22.git708054d
+- golang exclusivearch for el6+
+- add check
+
* Wed Jan 15 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.21.git708054d
- revert golang 1.2 requirement
10 years, 4 months