Browse Source

update snapshot

master
parent
commit
6cc671d642
  1. 22
      dgraph/dgraph.patch
  2. 6
      dgraph/dgraph.spec

22
dgraph/dgraph.patch

@ -1,22 +0,0 @@
Index: src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/dynflag.go
--- src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/dynflag.go.orig 2016-07-07 16:56:43.000000000 +0200
+++ src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/dynflag.go 2016-07-07 16:59:28.531029410 +0200
@@ -2,5 +2,5 @@
package gorocksdb
-// #cgo LDFLAGS: -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy
+// #cgo LDFLAGS: -lrocksdb -lstdc++ -lm -lsnappy
import "C"
Index: src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/options.go
--- src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/options.go.orig 2016-07-07 16:56:43.000000000 +0200
+++ src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/options.go 2016-07-07 17:05:27.931155124 +0200
@@ -325,7 +325,7 @@
// SetCompressionOptions sets different options for compression algorithms.
// Default: nil
func (opts *Options) SetCompressionOptions(value *CompressionOptions) {
- C.rocksdb_options_set_compression_options(opts.c, C.int(value.WindowBits), C.int(value.Level), C.int(value.Strategy))
+ C.rocksdb_options_set_compression_options(opts.c, C.int(value.WindowBits), C.int(value.Level), C.int(value.Strategy), C.int(0))
}
// SetPrefixExtractor sets the prefic extractor.

6
dgraph/dgraph.spec

@ -23,7 +23,7 @@
# package information
%define V_dgraph_base 0.4.4
%define V_dgraph_snap 20160909
%define V_dgraph_snap 20160916
# package information
Name: dgraph
@ -36,13 +36,12 @@ Class: EVAL
Group: Database
License: Apache
Version: %{V_dgraph_base}
Release: 20160909
Release: 20160916
# list of sources
Source0: http://download.openpkg.org/components/versioned/dgraph/dgraph-%{V_dgraph_snap}.tar.xz
Source1: dgraph.cf
Source2: rc.dgraph
Patch0: dgraph.patch
# build information
BuildPreReq: OpenPKG, openpkg >= 20160101, go
@ -65,7 +64,6 @@ PreReq: rocksdb
%prep
%setup -q -n dgraph
%patch -p0
%build
# build program

Loading…
Cancel
Save