[golang-github-golang-glog/f20] Bump to upstream 44145f04b68cf362d9c4df2182967c2275eaefed - resolves: #1161627

Jan Chaloupka jchaloup at fedoraproject.org
Sun Nov 9 13:48:56 UTC 2014


commit da87a7135955157e459ebe59392baa5ff2cf3a52
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Sun Nov 9 14:24:04 2014 +0100

    Bump to upstream 44145f04b68cf362d9c4df2182967c2275eaefed
    - resolves: #1161627

 .gitignore                     |    2 +-
 golang-github-golang-glog.spec |   25 +++++++++++++++++++------
 sources                        |    2 +-
 3 files changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4527db5..7dd80b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/glog-d1c4472bf2efd3826f2b5bdcc02d8416798d678c.tar.gz
+/glog-44145f0.tar.gz
diff --git a/golang-github-golang-glog.spec b/golang-github-golang-glog.spec
index 9e88f2e..56a2733 100644
--- a/golang-github-golang-glog.spec
+++ b/golang-github-golang-glog.spec
@@ -1,15 +1,23 @@
-%global commit d1c4472bf2efd3826f2b5bdcc02d8416798d678c
+%global provider        github
+%global provider_tld    com
+%global project         golang
+%global repo            glog
+%global import_path     %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit 44145f04b68cf362d9c4df2182967c2275eaefed
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global import_path     github.com/golang/glog
 
-Name:           golang-github-golang-glog
+Name:           golang-%{provider}-%{project}-%{repo}
 Version:        0
-Release:        0.2.git%{shortcommit}%{?dist}
+Release:        0.4.git%{shortcommit}%{?dist}
 Summary:        Leveled execution logs for Go
 License:        ASL 2.0
 URL:            http://%{import_path}
-Source0:        https://%{import_path}/archive/%{commit}/glog-%{commit}.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
 %{summary}
@@ -33,7 +41,7 @@ Through the -vmodule flag, the package also provides fine-grained
 control over logging at the file level.
 
 %prep
-%setup -n glog-%{commit} -q
+%setup -n %{repo}-%{commit} -q
 
 %build
 
@@ -50,6 +58,11 @@ GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
 %{gopath}/src/%{import_path}/*.go
 
 %changelog
+* Sun Nov 09 2014 jchaloup <jchaloup at redhat.com> - 0-0.4.git44145f0
+- Bump to upstream 44145f04b68cf362d9c4df2182967c2275eaefed
+  resolves: #1161627
+- Choose the correct architecture
+
 * Mon Sep 15 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0.2.gitd1c4472
 - BR golang
 - include check
diff --git a/sources b/sources
index ef3905f..4e91f2b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b4e18f169cd384df0a4c23d77bb8ff15  glog-d1c4472bf2efd3826f2b5bdcc02d8416798d678c.tar.gz
+6f1f208d5023e3f52b50839dd1e18157  glog-44145f0.tar.gz


More information about the scm-commits mailing list