From 0de9836c0a09eee6c004ef3e887c5b470398df7b Mon Sep 17 00:00:00 2001 From: "Kun(llfl)" Date: Thu, 5 Jan 2023 08:30:51 +0800 Subject: [PATCH] minor fix about pkg golang-shared Signed-off-by: Kun(llfl) --- golang.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/golang.spec b/golang.spec index 077566d..7f85c41 100644 --- a/golang.spec +++ b/golang.spec @@ -426,6 +426,7 @@ export GO_TEST_TIMEOUT_SCALE=2 %endif cd .. +%generate_compatibility_deps %post bin %{_sbindir}/update-alternatives --install %{_bindir}/go \ @@ -437,8 +438,6 @@ if [ $1 = 0 ]; then %{_sbindir}/update-alternatives --remove go %{goroot}/bin/go fi -%generate_compatibility_deps - %files %license LICENSE PATENTS # VERSION has to be present in the GOROOT, for `go install std` to work @@ -480,6 +479,7 @@ fi %if %{shared} %files shared -f go-shared.list +%{abidir}/libstd.dump %endif %if %{race} -- Gitee