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 _bin_path /usr/local/bin
|
||||||
%global _service_path /usr/lib/systemd/system
|
%global _service_path /usr/lib/systemd/system
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
%global package_name space-agent
|
||||||
|
|
||||||
Name: ao.space
|
Name: ao.space
|
||||||
Version: 1.0.1
|
Version: 1.0.2
|
||||||
Release: 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.
|
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
|
License: Apache-2.0
|
||||||
URL: https://github.com/ao-space/space-agent
|
URL: https://github.com/ao-space/space-agent
|
||||||
Source0: aospace-agent-%{version}.tar.gz
|
Source0: space-agent-%{version}.tar.gz
|
||||||
|
|
||||||
AutoReq: no
|
AutoReq: no
|
||||||
AutoProv: yes
|
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.
|
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
|
%prep
|
||||||
%setup -q -n aospace-agent-%{version} -c
|
%setup -q -n %{package_name}-%{version} -c
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go version
|
go version
|
||||||
go env -w GO111MODULE=on
|
go env -w GO111MODULE=on
|
||||||
cd aospace-agent-1.0.1
|
cd %{package_name}-%{version}
|
||||||
ls -l
|
ls -l
|
||||||
if [ %{_arch} == "x86_64" ];then
|
if [ %{_arch} == "x86_64" ];then
|
||||||
make -f Makefile.amd64
|
make -f Makefile.amd64
|
||||||
@ -56,7 +57,7 @@ elif [ %{_arch} == "riscv64" ];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd aospace-agent-1.0.1
|
cd %{package_name}-%{version}
|
||||||
ls -l
|
ls -l
|
||||||
mkdir -p %{buildroot}%{_bin_path}
|
mkdir -p %{buildroot}%{_bin_path}
|
||||||
mkdir -p %{buildroot}%{_service_path}
|
mkdir -p %{buildroot}%{_service_path}
|
||||||
@ -86,6 +87,9 @@ systemctl start aospace.service
|
|||||||
%systemd_postun_with_restart aospace.service
|
%systemd_postun_with_restart aospace.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 1 2024 ZhangXuyang<zhangxuyang@iscas.ac.cn> - 1.0.1-2
|
||||||
- Release 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