[golang-github-influxdb-influxdb] Choose the correct architecture - related: #1141892

Jan Chaloupka jchaloup at fedoraproject.org
Tue Jan 6 08:46:45 UTC 2015


commit 13df093879ebd8f7a30c30cc278610a02bec277e
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Sun Nov 9 12:55:32 2014 +0100

    Choose the correct architecture
    - related: #1141892

 golang-github-influxdb-influxdb.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/golang-github-influxdb-influxdb.spec b/golang-github-influxdb-influxdb.spec
index 0de9908..f7a978c 100644
--- a/golang-github-influxdb-influxdb.spec
+++ b/golang-github-influxdb-influxdb.spec
@@ -5,12 +5,16 @@
 
 Name:           golang-github-influxdb-influxdb
 Version:        0.8.0
-Release:        0.4.rc4.git%{shortcommit}%{?dist}
+Release:        0.5.rc4.git%{shortcommit}%{?dist}
 Summary:        Scalable datastore for metrics, events, and real-time analytics
 License:        MIT
 URL:            http://godoc.org/%{import_path}
 Source0:        https://%{import_path}/archive/%{commit}/influxdb-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 InfluxDB is an open source distributed time series database with no external
@@ -73,6 +77,7 @@ BuildRequires:  golang(code.google.com/p/log4go)
 BuildRequires:  golang(github.com/bmizerany/pat)
 BuildRequires:  golang(github.com/influxdb/go-cache)
 BuildRequires:  golang(github.com/BurntSushi/toml)
+BuildRequires:  golang(github.com/influxdb/gomdb)
 BuildRequires:  golang(github.com/jmhodges/levigo)
 BuildRequires:  golang(code.google.com/p/goprotobuf/proto)
 BuildRequires:  golang(github.com/stretchr/testify/assert)
@@ -84,6 +89,7 @@ Requires:       golang(code.google.com/p/log4go)
 Requires:       golang(github.com/bmizerany/pat)
 Requires:       golang(github.com/influxdb/go-cache)
 Requires:       golang(github.com/BurntSushi/toml)
+Requires:       golang(github.com/influxdb/gomdb)
 Requires:       golang(github.com/jmhodges/levigo)
 Requires:       golang(code.google.com/p/goprotobuf/proto)
 Requires:       golang(github.com/stretchr/testify/assert)
@@ -184,6 +190,10 @@ cp -rpav {admin,api,checkers,client,cluster,common,configuration,coordinator,dae
 %{gopath}/src/%{import_path}/wal/*
 
 %changelog
+* Sun Nov 09 2014 jchaloup <jchaloup at redhat.com> - 0.8.0-0.5.rc4.git67f9869
+- Choose the correct architecture
+  related: #1141892
+
 * Tue Oct 14 2014 jchaloup <jchaloup at redhat.com> - 0.8.0-0.4.rc4.git67f9869
 - Adding BR on gomdb
 


More information about the scm-commits mailing list