summaryrefslogtreecommitdiff
path: root/osmind-ai.spec
diff options
context:
space:
mode:
Diffstat (limited to 'osmind-ai.spec')
-rw-r--r--osmind-ai.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/osmind-ai.spec b/osmind-ai.spec
index 98dad4c..a914005 100644
--- a/osmind-ai.spec
+++ b/osmind-ai.spec
@@ -20,6 +20,8 @@ OSMind AI Service packaged as RPM.
%setup -q
%build
+export GOPROXY=https://goproxy.cn,direct
+export PATH=/usr/bin:/usr/lib/golang/bin:$PATH
/usr/bin/go mod tidy
/usr/bin/go build -o osmind_agent cmd/einoagent/main.go # 替换为你的编译命令