[golang-github-influxdb-influxdb/el6] go_arches works in scratch builds, but not real builds
by Lokesh Mandvekar
commit cbb50cb9861426d78f18863051fbde7bdf576470
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Mon Sep 29 02:53:08 2014 -0500
go_arches works in scratch builds, but not real builds
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
golang-github-influxdb-influxdb.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/golang-github-influxdb-influxdb.spec b/golang-github-influxdb-influxdb.spec
index bbbe7a2..268cd76 100644
--- a/golang-github-influxdb-influxdb.spec
+++ b/golang-github-influxdb-influxdb.spec
@@ -10,7 +10,7 @@ Summary: Golang client libs for influxdb
License: MIT
URL: http://godoc.org/%{import_path}
Source0: https://%{import_path}/archive/%{commit}/influxdb-%{shortcommit}.tar.gz
-ExclusiveArch: %{go_arches}
+ExclusiveArch: %{ix86} x86_64 %{arm}
%description
InfluxDB is an open source distributed time series database with no external
9 years, 8 months
[golang-github-influxdb-influxdb/el6: 2/2] use go_arches for el6
by Lokesh Mandvekar
commit 7f48890c4870a9a3a8dc66b6d47b1f6da0794ef1
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Mon Sep 29 02:49:45 2014 -0500
use go_arches for el6
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
golang-github-influxdb-influxdb.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/golang-github-influxdb-influxdb.spec b/golang-github-influxdb-influxdb.spec
index 19c9e57..bbbe7a2 100644
--- a/golang-github-influxdb-influxdb.spec
+++ b/golang-github-influxdb-influxdb.spec
@@ -10,7 +10,7 @@ Summary: Golang client libs for influxdb
License: MIT
URL: http://godoc.org/%{import_path}
Source0: https://%{import_path}/archive/%{commit}/influxdb-%{shortcommit}.tar.gz
-BuildArch: noarch
+ExclusiveArch: %{go_arches}
%description
InfluxDB is an open source distributed time series database with no external
9 years, 8 months
[golang-github-influxdb-influxdb] Resolves: rhbz1141892 - initial package upload
by Lokesh Mandvekar
commit 583f5653bed070e2c4b658d4683e74d585d354c2
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Mon Sep 29 02:10:49 2014 -0500
Resolves: rhbz1141892 - initial package upload
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
.gitignore | 1 +
golang-github-influxdb-influxdb.spec | 77 ++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fcb8cb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/influxdb-67f9869.tar.gz
diff --git a/golang-github-influxdb-influxdb.spec b/golang-github-influxdb-influxdb.spec
new file mode 100644
index 0000000..19c9e57
--- /dev/null
+++ b/golang-github-influxdb-influxdb.spec
@@ -0,0 +1,77 @@
+%global debug_package %{nil}
+%global import_path github.com/influxdb/influxdb
+%global commit 67f9869b82672b62c1200adaf21179565c5b75c3
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: golang-github-influxdb-influxdb
+Version: 0.8.0
+Release: 0.2.rc4.git%{shortcommit}%{?dist}
+Summary: Golang client libs for influxdb
+License: MIT
+URL: http://godoc.org/%{import_path}
+Source0: https://%{import_path}/archive/%{commit}/influxdb-%{shortcommit}.tar.gz
+BuildArch: noarch
+
+%description
+InfluxDB is an open source distributed time series database with no external
+dependencies. It's useful for recording metrics, events, and performing
+analytics.
+
+It has a built-in HTTP API so you don't have to write any server side code to
+get up and running.
+
+InfluxDB is designed to be scalable, simple to install and manage, and fast to
+get data in and out.
+
+It aims to answer queries in real-time. That means every data point is indexed
+as it comes in and is immediately available in queries that should return
+in < 100ms.
+
+%package devel
+BuildRequires: golang >= 1.2.1-3
+Requires: golang >= 1.2.1-3
+Summary: Golang client libs for influxdb
+Provides: golang(%{import_path}) = %{version}-%{release}
+Provides: golang(%{import_path}/client) = %{version}-%{release}
+
+%description devel
+InfluxDB is an open source distributed time series database with no external
+dependencies. It's useful for recording metrics, events, and performing
+analytics.
+
+It has a built-in HTTP API so you don't have to write any server side code to
+get up and running.
+
+InfluxDB is designed to be scalable, simple to install and manage, and fast to
+get data in and out.
+
+It aims to answer queries in real-time. That means every data point is indexed
+as it comes in and is immediately available in queries that should return
+in < 100ms.
+
+%prep
+%setup -q -n influxdb-%{commit}
+
+%build
+
+%install
+install -d %{buildroot}%{gopath}/src/%{import_path}
+cp -rpav client %{buildroot}%{gopath}/src/%{import_path}/
+
+%check
+
+%files devel
+%doc CHANGELOG.md LICENSE README.md Makefile.in Gemfile
+%dir %{gopath}/src/github.com/influxdb
+%dir %{gopath}/src/%{import_path}
+%dir %{gopath}/src/%{import_path}/client
+%{gopath}/src/%{import_path}/client/*
+
+%changelog
+* Mon Sep 29 2014 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0.8.0-0.2.rc4.git67f9869
+- Resolves: rhbz#1141892 - initial package upload
+- preserve timestamps of source copied
+- gopath is provided by the golang rpm
+
+* Wed Aug 06 2014 Adam Miller <maxamillion(a)fedoraproject.org> - 0.8.0-0.1.rc4.git67f9869
+- First package for Fedora.
diff --git a/sources b/sources
index e69de29..145ade8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fa4e2c5154e9381e7d46028bae4d23b3 influxdb-67f9869.tar.gz
9 years, 8 months