commit be30d9489509e8e7baf5c42fa646aec6aab87900 Author: Lokesh Mandvekar <l...@redhat.com> Date: Fri Jan 17 14:49:12 2014 -0500
exclusivearch for el6+, add check Signed-off-by: Lokesh Mandvekar <l...@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 <l...@redhat.com> 0-0.22.git708054d +- golang exclusivearch for el6+ +- add check + * Wed Jan 15 2014 Lokesh Mandvekar <l...@redhat.com> 0-0.21.git708054d - revert golang 1.2 requirement _______________________________________________ golang mailing list golang@lists.fedoraproject.org https://lists.fedoraproject.org/mailman/listinfo/golang