summaryrefslogtreecommitdiff
path: root/osmind-ai.spec
diff options
context:
space:
mode:
Diffstat (limited to 'osmind-ai.spec')
-rw-r--r--osmind-ai.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/osmind-ai.spec b/osmind-ai.spec
index 61f27e9..98dad4c 100644
--- a/osmind-ai.spec
+++ b/osmind-ai.spec
@@ -10,7 +10,7 @@ Source0: %{name}-%{version}.tar.gz
%global debug_package %{nil}
%global _enable_debug_package 0
-#BuildRequires: go
+BuildRequires: go
Requires: systemd
%description
@@ -20,8 +20,8 @@ OSMind AI Service packaged as RPM.
%setup -q
%build
-go mod tidy
-go build -o osmind_agent cmd/einoagent/main.go # 替换为你的编译命令
+/usr/bin/go mod tidy
+/usr/bin/go build -o osmind_agent cmd/einoagent/main.go # 替换为你的编译命令
%install
# 创建目录