summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-11-04 11:22:11 +0000
committerCoprDistGit <infra@openeuler.org>2025-11-04 11:22:11 +0000
commitacf89d70486a27e3b2e9ce5d188e739e6401e027 (patch)
treeb81f49a467464e7a3c36767c4b4614b56504d5cd
parent92522776f67ebe5b07d8dec9871d895393425697 (diff)
automatic import of osmind-aiopeneuler24.03_LTS
-rw-r--r--osmind-ai.spec10
-rw-r--r--sources2
2 files changed, 10 insertions, 2 deletions
diff --git a/osmind-ai.spec b/osmind-ai.spec
index 8f24add..5a2230b 100644
--- a/osmind-ai.spec
+++ b/osmind-ai.spec
@@ -16,6 +16,14 @@ Source0: %{name}-%{version}.tar.gz
BuildRequires: golang
Requires: systemd
+%ifarch x86_64
+%define archdir x86_64
+%endif
+
+%ifarch aarch64
+%define archdir aarch64
+%endif
+
%description
OSMind AI Service packaged as RPM.
@@ -34,7 +42,7 @@ install -d -m 755 %{buildroot}/opt/osmind_ai
install -d -m 755 %{buildroot}%{_unitdir}
# 复制二进制文件
-install -m 755 osmind_agent %{buildroot}/opt/osmind_ai/
+install -m 755 agent/%{archdir}/osmind_agent %{buildroot}/opt/osmind_ai/
# 复制 systemd 服务文件
install -m 644 osmind-ai.service %{buildroot}%{_unitdir}/
diff --git a/sources b/sources
index 9647a39..6c9f462 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5bdb9823c41ceb9be9a1b15a8b4a7224 osmind-ai-1.0.0.tar.gz
+e422cb3beff5414f05e1b70aef6d9c76 osmind-ai-1.0.0.tar.gz