File README.packaging of Package influxdb

All deps have to be vendored. The source tarball is obtained as the following:

# docker run --rm=true -v $PWD:/data matwey/fetch-golang-sources github.com/influxdata/influxdb 1.5.4

Alternative manual way:

1. Install govendor (skip, if already installed)

# go get github.com/kardianos/govendor

2. Obtain influxdb source codes

# mkdir ~/go/src/github.com/influxdata
# cd ~/go/src/github.com/influxdata
# git clone --branch v1.5.4 https://github.com/influxdata/influxdb.git influxdb-1.5.4

3. Obtain vendor dependencies

# cd influxdb-1.5.4
# govendor migrate
# govendor sync

4. Create archive

# cd ..
# tar -Jcf influxdb-1.5.4.tar.xz --exclude-vcs influxdb-1.5.4
openSUSE Build Service is sponsored by