[packages/zabbix/go-vendor] Add go vendor

glen glen at pld-linux.org
Tue Aug 24 16:54:08 CEST 2021


commit 384928cb98b6cc144c1f386b0bc0a7711393fb9b
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Aug 24 17:53:57 2021 +0300

    Add go vendor

 zabbix.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/zabbix.spec b/zabbix.spec
index 235d65d..5e3602c 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -33,6 +33,12 @@ Source4:	%{name}_proxy.service
 Source5:	%{name}_java.service
 Source6:	%{name}.tmpfiles
 Source7:	%{name}_agentd.init
+%if 0
+cd src/go/
+go mod vendor
+tar -caf ~/go-vendor.tar.xz -C ../../ src/go/vendor
+%endif
+Source8:	go-vendor.tar.xz
 Patch0:		config.patch
 Patch1:		sqlite3_dbname.patch
 Patch2:		always_compile_ipc.patch
@@ -323,7 +329,7 @@ Requires:	systemd-units >= 38
 This package provides the Zabbix Java Gateway.
 
 %prep
-%setup -q
+%setup -q -a8
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zabbix.git/commitdiff/384928cb98b6cc144c1f386b0bc0a7711393fb9b



More information about the pld-cvs-commit mailing list