Browse Source

upgrading package: postgresql-walg 0.2.19.20201130 -> 0.2.21.20210318

master
parent
commit
b14a98bbb5
  1. 16
      postgresql-walg/postgresql-walg.patch
  2. 6
      postgresql-walg/postgresql-walg.spec

16
postgresql-walg/postgresql-walg.patch

@ -1,27 +1,27 @@
Index: src/github.com/wal-g/wal-g/Makefile
--- src/github.com/wal-g/wal-g/Makefile.orig 2020-09-01 11:08:16.000000000 +0200
+++ src/github.com/wal-g/wal-g/Makefile 2020-09-01 12:19:08.289314000 +0200
@@ -25,14 +25,17 @@
--- src/github.com/wal-g/wal-g/Makefile.orig 2021-02-26 21:39:24.000000000 +0100
+++ src/github.com/wal-g/wal-g/Makefile 2021-02-26 22:06:27.272729000 +0100
@@ -26,14 +26,17 @@
BUILD_TAGS:=$(BUILD_TAGS) lzo
endif
-.PHONY: unittest fmt lint install clean
-.PHONY: unittest fmt lint clean
+PHONY: unittest fmt lint install clean
+.PHONY: all
+
+all: deps pg_build
test: install deps lint unittest pg_build mysql_build redis_build mongo_build unlink_brotli pg_integration_test mysql_integration_test redis_integration_test fdb_integration_test
test: deps unittest pg_build mysql_build redis_build mongo_build unlink_brotli pg_integration_test mysql_integration_test redis_integration_test fdb_integration_test
pg_test: install deps pg_build lint unlink_brotli pg_integration_test
pg_test: deps pg_build unlink_brotli pg_integration_test
pg_build: $(CMD_FILES) $(PKG_FILES)
- (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
install_and_build_pg: deps pg_build
@@ -177,8 +180,6 @@
@@ -191,8 +194,6 @@
deps: go_deps link_external_deps
go_deps:

6
postgresql-walg/postgresql-walg.spec

@ -22,8 +22,8 @@
##
# package version
%define V_postgresql_walg_base 0.2.19
%define V_postgresql_walg_snap 20201130
%define V_postgresql_walg_base 0.2.21
%define V_postgresql_walg_snap 20210318
# 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: 20201130
Release: 20210318
# list of sources
Source0: http://download.openpkg.org/components/versioned/postgresql-walg/postgresql-walg-%{V_postgresql_walg_snap}.tar.xz

Loading…
Cancel
Save