release: Upgrade rpm spec to 3.0

This commit is contained in:
SunnyQjm 2023-10-16 14:54:23 +08:00
parent 0b04904822
commit 074e9cc49a
3 changed files with 21 additions and 5 deletions

View File

@ -1,6 +1,9 @@
#!/bin/bash #!/bin/bash
version=2.2 version=2.2
echo "Not support offline rpm, please use online rpm or docker image"
exit 1
check_cmd() { check_cmd() {
local cmd="$1" local cmd="$1"
if ! command -v "${cmd}" >/dev/null 2>&1; then if ! command -v "${cmd}" >/dev/null 2>&1; then
@ -18,6 +21,8 @@ if [ "$UID" -ne 0 ]; then
exit 1 exit 1
fi fi
basedir=`dirname $0` basedir=`dirname $0`
pushd ${basedir} pushd ${basedir}

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
version=2.2 version=3.0
check_cmd() { check_cmd() {
local cmd="$1" local cmd="$1"

View File

@ -2,11 +2,11 @@
%define debug_package %{nil} %define debug_package %{nil}
Name: sysom Name: sysom
Version: 2.2 Version: 3.0
Release: %{anolis_release}%{?dist} Release: %{anolis_release}%{?dist}
Summary: SysOM Server Summary: SysOM Server
License: MIT License: MIT
Source0: https://gitee.com/anolis/sysom/repository/archive/v2.2/sysom-2.2.tar.gz Source0: https://gitee.com/anolis/sysom/repository/archive/v3.0/sysom-3.0.tar.gz
URL: https://gitee.com/anolis/sysom URL: https://gitee.com/anolis/sysom
%description %description
@ -192,9 +192,20 @@ fi
rm -rf /usr/local/sysom rm -rf /usr/local/sysom
%changelog %changelog
* Mon Oct 16 2023 mingfeng <mingfeng@linux.alibaba.com> - 3.0
- feat(diagnosis): Diagnostic Center supports new versions of pre-processing and post-processing scripts
- feat(alarm): Support for scalable alarm centers
- feat(cec_proxy): Added cec_proxy for delivering events over HTTP.
- feat(monitor): Added node monitoring based on sysom agent.
- feat(deploy): Updated deployment framework to support modularized deployment
- feat(deploy.docker): Support docker deployment
- feat(migration): Support for migrating from Oracle Linux OS to Anolis OS
* Thu Apr 13 2023 huangtuquan <tuquanhuang@linux.alibaba.com> - 2.2 * Thu Apr 13 2023 huangtuquan <tuquanhuang@linux.alibaba.com> - 2.2
- sysom server release 2.2 - sysom server release 2.2
* Fri Feb 6 2023 huangtuquan <tuquanhuang@linux.alibaba.com> - 2.1
* Mon Feb 6 2023 huangtuquan <tuquanhuang@linux.alibaba.com> - 2.1
- sysom server release 2.1 - sysom server release 2.1
* Fri Dec 12 2022 huangtuquan <tuquanhuang@linux.alibaba.com> - 2.0
* Mon Dec 12 2022 huangtuquan <tuquanhuang@linux.alibaba.com> - 2.0
- sysom server release 2.0 - sysom server release 2.0