From 6cc671d642ab04da820477abccd7d10e6815275b Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Fri, 16 Sep 2016 20:30:21 +0000 Subject: [PATCH] update snapshot --- dgraph/dgraph.patch | 22 ---------------------- dgraph/dgraph.spec | 6 ++---- 2 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 dgraph/dgraph.patch diff --git a/dgraph/dgraph.patch b/dgraph/dgraph.patch deleted file mode 100644 index 7e6daae944..0000000000 --- a/dgraph/dgraph.patch +++ /dev/null @@ -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. diff --git a/dgraph/dgraph.spec b/dgraph/dgraph.spec index 00cf6d1455..273c378922 100644 --- a/dgraph/dgraph.spec +++ b/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