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 0afd3fd..0ced31a 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.3.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 - 0-0.4.git44145f0 +- Bump to upstream 44145f04b68cf362d9c4df2182967c2275eaefed + resolves: #1161627 +- Choose the correct architecture + * Tue Oct 14 2014 jchaloup - 0-0.3.gitd1c4472 - BuildArch to ExclusiveArch 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