fix riscv makefile

This commit is contained in:
xuyang 2024-04-02 11:28:31 +08:00
parent cdc1fe20d4
commit 5862cdacb2
3 changed files with 8 additions and 4 deletions

View File

@ -19,7 +19,7 @@
Name: ao.space
Version: 1.0.2
Release: 1
Release: 3
Summary: AO.space is a open source project that focuses on protecting personal data security and privacy. Utilizing end-to-end encryption and device-based authentication, users have complete control over their personal accounts and data.
License: Apache-2.0
URL: https://github.com/ao-space/space-agent
@ -50,10 +50,8 @@ cd %{package_name}-%{version}
ls -l
if [ %{_arch} == "x86_64" ];then
make -f Makefile.amd64
elif [ %{_arch} == "aarch64" ];then
elif [ %{_arch} == "aarch64" -o %{_arch} == "riscv64" ];then
make -f Makefile
elif [ %{_arch} == "riscv64" ];then
make -f Makefile.riscv64
fi
%install
@ -87,6 +85,12 @@ systemctl start aospace.service
%systemd_postun_with_restart aospace.service
%changelog
* Fri Apr 12 2024 ZhangXuyang<zhangxuyang@iscas.ac.cn> - 1.0.2-3
- fix riscv64 makefile
* Fri Apr 12 2024 ZhangXuyang<zhangxuyang@iscas.ac.cn> - 1.0.2-2
- fix riscv64 makefile
* Tue Apr 2 2024 ZhangXuyang<zhangxuyang@iscas.ac.cn> - 1.0.2-1
- Release 1.0.2-1

Binary file not shown.

Binary file not shown.