jchaloup pushed to golang-github-gorilla-context (f20). "Bump to upstream 215affda49addc4c8ef7e2534915df2c8c35c6cd (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 23 08:49:33 UTC 2015


>From d3510ed3118c0925457dd2bcfdb1b2f1d021da81 Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup at redhat.com>
Date: Thu, 23 Apr 2015 10:38:52 +0200
Subject: Bump to upstream 215affda49addc4c8ef7e2534915df2c8c35c6cd - resolves:
 #1214614


diff --git a/.gitignore b/.gitignore
index b147d66..019dd2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-/context-708054d.tar.gz
-/context-b06ed15.tar.gz
-/context-14f550f.tar.gz
+/context-215affd.tar.gz
diff --git a/golang-github-gorilla-context.spec b/golang-github-gorilla-context.spec
index 6e6718d..75b28d7 100644
--- a/golang-github-gorilla-context.spec
+++ b/golang-github-gorilla-context.spec
@@ -1,16 +1,24 @@
 %global debug_package   %{nil}
-%global import_path     github.com/gorilla/context
-%global commit          14f550f51af52180c2eefed15e5fd18d63c0a64a
+%global provider        github
+%global provider_tld    com
+%global project         gorilla
+%global repo            context
+%global import_path     %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit          215affda49addc4c8ef7e2534915df2c8c35c6cd
 %global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
-Name:           golang-github-gorilla-context
+Name:           golang-%{provider}-%{project}-%{repo}
 Version:        0
-Release:        0.27.git%{shortcommit}%{?dist}
+Release:        0.28.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
+Source0:        https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 Package gorilla/context stores values shared during a request lifetime.
@@ -36,10 +44,10 @@ sessions values to be saved at the end of a request. There are several
 other common uses.
 
 This package contains library source intended for building other packages
-which use gorilla/context.
+which use %{project}/%{repo}.
 
 %prep
-%setup -n context-%{commit}
+%setup -q -n context-%{commit}
 
 %build
 
@@ -52,11 +60,14 @@ GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
 
 %files devel
 %doc LICENSE README.md
-%dir %{gopath}/src/github.com/gorilla
-%dir %{gopath}/src/%{import_path}
-%{gopath}/src/%{import_path}/*.go
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%{gopath}/src/%{import_path}
 
 %changelog
+* Thu Apr 23 2015 jchaloup <jchaloup at redhat.com> - 0-0.28.git215affd
+- Bump to upstream 215affda49addc4c8ef7e2534915df2c8c35c6cd
+  resolves: #1214614
+
 * Thu Jul 31 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.27.git
 - remove conditionals for arch specification (handle el6 separately)
 - defattr only for el6
diff --git a/sources b/sources
index 96b7f07..4660923 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1a9701c9c4c9354d5152244e505aba5e  context-14f550f.tar.gz
+580cf05b69747970bc96b4275023db26  context-215affd.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/golang-github-gorilla-context.git/commit/?h=f20&id=d3510ed3118c0925457dd2bcfdb1b2f1d021da81


More information about the scm-commits mailing list