upgrade version
(cherry picked from commit 0c17dbae9bd6c598a5307f9d181e9999a5ff071f)
This commit is contained in:
parent
38bff619c6
commit
8f5c63392e
@ -15,14 +15,15 @@
|
||||
%global _bin_path /usr/local/bin
|
||||
%global _service_path /usr/lib/systemd/system
|
||||
%global debug_package %{nil}
|
||||
%global package_name space-agent
|
||||
|
||||
Name: ao.space
|
||||
Version: 1.0.1
|
||||
Release: 2
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
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
|
||||
Source0: aospace-agent-%{version}.tar.gz
|
||||
Source0: space-agent-%{version}.tar.gz
|
||||
|
||||
AutoReq: no
|
||||
AutoProv: yes
|
||||
@ -39,13 +40,13 @@ ExclusiveOS: Linux
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q -n aospace-agent-%{version} -c
|
||||
%setup -q -n %{package_name}-%{version} -c
|
||||
|
||||
|
||||
%build
|
||||
go version
|
||||
go env -w GO111MODULE=on
|
||||
cd aospace-agent-1.0.1
|
||||
cd %{package_name}-%{version}
|
||||
ls -l
|
||||
if [ %{_arch} == "x86_64" ];then
|
||||
make -f Makefile.amd64
|
||||
@ -56,7 +57,7 @@ elif [ %{_arch} == "riscv64" ];then
|
||||
fi
|
||||
|
||||
%install
|
||||
cd aospace-agent-1.0.1
|
||||
cd %{package_name}-%{version}
|
||||
ls -l
|
||||
mkdir -p %{buildroot}%{_bin_path}
|
||||
mkdir -p %{buildroot}%{_service_path}
|
||||
@ -86,6 +87,9 @@ systemctl start aospace.service
|
||||
%systemd_postun_with_restart aospace.service
|
||||
|
||||
%changelog
|
||||
* Tue Apr 2 2024 ZhangXuyang<zhangxuyang@iscas.ac.cn> - 1.0.2-1
|
||||
- Release 1.0.2-1
|
||||
|
||||
* Mon Apr 1 2024 ZhangXuyang<zhangxuyang@iscas.ac.cn> - 1.0.1-2
|
||||
- Release 1.0.1-2
|
||||
|
||||
|
||||
Binary file not shown.
BIN
space-agent-1.0.2.tar.gz
Normal file
BIN
space-agent-1.0.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user