diff --git a/ao.space.spec b/ao.space.spec index 3715e62..cd498c9 100644 --- a/ao.space.spec +++ b/ao.space.spec @@ -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 - 1.0.2-1 +- Release 1.0.2-1 + * Mon Apr 1 2024 ZhangXuyang - 1.0.1-2 - Release 1.0.1-2 diff --git a/aospace-agent-1.0.1.tar.gz b/aospace-agent-1.0.1.tar.gz deleted file mode 100644 index 17747fb..0000000 Binary files a/aospace-agent-1.0.1.tar.gz and /dev/null differ diff --git a/space-agent-1.0.2.tar.gz b/space-agent-1.0.2.tar.gz new file mode 100644 index 0000000..e4ee2c6 Binary files /dev/null and b/space-agent-1.0.2.tar.gz differ