Browse Source

upgrading package: postgresql-walg 0.2.14.20191218 -> 0.2.15.20200324

master
parent
commit
e2851a2a25
  1. 31
      postgresql-walg/postgresql-walg.patch
  2. 6
      postgresql-walg/postgresql-walg.spec

31
postgresql-walg/postgresql-walg.patch

@ -1,9 +1,9 @@
Index: src/github.com/wal-g/wal-g/Makefile
--- src/github.com/wal-g/wal-g/Makefile.orig 2019-12-18 00:25:25.000000000 +0100
+++ src/github.com/wal-g/wal-g/Makefile 2019-12-18 00:34:33.959813000 +0100
@@ -10,14 +10,17 @@
COVERAGE_FILE := coverage.out
TEST := "pg_tests"
--- src/github.com/wal-g/wal-g/Makefile.orig 2020-03-25 00:06:04.266180000 +0100
+++ src/github.com/wal-g/wal-g/Makefile 2020-03-25 00:08:37.928325000 +0100
@@ -23,14 +23,17 @@
BUILD_TAGS:=$(BUILD_TAGS) lzo
endif
-.PHONY: unittest fmt lint install clean
+PHONY: unittest fmt lint install clean
@ -16,22 +16,17 @@ Index: src/github.com/wal-g/wal-g/Makefile
pg_test: install deps pg_build lint unlink_brotli pg_integration_test
pg_build: $(CMD_FILES) $(PKG_FILES)
- (cd $(MAIN_PG_PATH) && go build -tags "brotli lzo" -o wal-g -ldflags "-s -w -X github.com/wal-g/wal-g/cmd/pg.BuildDate=`date -u +%Y.%m.%d_%H:%M:%S` -X github.com/wal-g/wal-g/cmd/pg.GitRevision=`git rev-parse --short HEAD` -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=`git tag -l --points-at HEAD`")
+ (cd $(MAIN_PG_PATH) && go build -v -tags "brotli lzo" -o wal-g -ldflags "-w -X github.com/wal-g/wal-g/cmd/pg.BuildDate=`date -u +%Y.%m.%d_%H:%M:%S` -X github.com/wal-g/wal-g/cmd/pg.GitRevision=`git rev-parse --short HEAD` -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=`git tag -l --points-at HEAD`")
- (cd $(MAIN_PG_PATH) && go build -mod vendor -tags "$(BUILD_TAGS)" -o wal-g -ldflags "-s -w -X github.com/wal-g/wal-g/cmd/pg.BuildDate=`date -u +%Y.%m.%d_%H:%M:%S` -X github.com/wal-g/wal-g/cmd/pg.GitRevision=`git rev-parse --short HEAD` -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=`git tag -l --points-at HEAD`")
+ (cd $(MAIN_PG_PATH) && go build -mod vendor -v -tags "$(BUILD_TAGS)" -o wal-g -ldflags "-s -w -X github.com/wal-g/wal-g/cmd/pg.BuildDate=`date -u +%Y.%m.%d_%H:%M:%S` -X github.com/wal-g/wal-g/cmd/pg.GitRevision=`git rev-parse --short HEAD` -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=`git tag -l --points-at HEAD`")
install_and_build_pg: install deps pg_build
@@ -134,8 +137,6 @@
go list ./... | grep -Ev 'vendor|submodules|tmp' | xargs golint
@@ -154,8 +157,6 @@
deps: go_deps link_external_deps
deps:
go_deps:
- git submodule update --init
- dep ensure
- go mod vendor
ifdef USE_LZO
sed -i 's|\(#cgo LDFLAGS:\) .*|\1 -Wl,-Bstatic -llzo2 -Wl,-Bdynamic|' vendor/github.com/cyberdelia/lzo/lzo.go
./link_brotli.sh
@@ -147,4 +148,3 @@
unlink_brotli:
rm -rf vendor/github.com/google/brotli/*
mv tmp/* vendor/github.com/google/brotli/
- rm -rf tmp/
endif

6
postgresql-walg/postgresql-walg.spec

@ -22,8 +22,8 @@
##
# package version
%define V_postgresql_walg_base 0.2.14
%define V_postgresql_walg_snap 20191218
%define V_postgresql_walg_base 0.2.15
%define V_postgresql_walg_snap 20200324
# package information
Name: postgresql-walg
@ -36,7 +36,7 @@ Class: EVAL
Group: Database
License: Apache
Version: %{V_postgresql_walg_base}.%{V_postgresql_walg_snap}
Release: 20191218
Release: 20200325
# list of sources
Source0: http://download.openpkg.org/components/versioned/postgresql-walg/postgresql-walg-%{V_postgresql_walg_snap}.tar.xz

Loading…
Cancel
Save