diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-11-06 02:04:02 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-11-06 02:04:02 +0000 |
| commit | 9cb12f06b5b3868194a2e10e23bee86d1b0661fe (patch) | |
| tree | ff2add67ed028f2c3b3d8a20a94a3155256eccab /osmind-ai.spec | |
| parent | acf89d70486a27e3b2e9ce5d188e739e6401e027 (diff) | |
automatic import of osmind-ai
Diffstat (limited to 'osmind-ai.spec')
| -rw-r--r-- | osmind-ai.spec | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/osmind-ai.spec b/osmind-ai.spec index 5a2230b..818a93a 100644 --- a/osmind-ai.spec +++ b/osmind-ai.spec @@ -16,14 +16,6 @@ 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. @@ -42,7 +34,7 @@ install -d -m 755 %{buildroot}/opt/osmind_ai install -d -m 755 %{buildroot}%{_unitdir} # 复制二进制文件 -install -m 755 agent/%{archdir}/osmind_agent %{buildroot}/opt/osmind_ai/ +install -m 755 agent/%{_arch}/osmind_agent %{buildroot}/opt/osmind_ai/ # 复制 systemd 服务文件 install -m 644 osmind-ai.service %{buildroot}%{_unitdir}/ |
