Fix bug - bc command not found

require bc for caculating free memory

Signed-off-by: gaochong <gaochong@uniontech.com>
This commit is contained in:
gaochong 2021-12-30 22:08:40 +08:00
parent da1479c98c
commit 4917fdc656

View File

@ -6,7 +6,7 @@
%define generic_version 20.03
%define generic_patch_level LTS
%define generic_patch_level_extend SP3
%define generic_release 47
%define generic_release 48
%define builtin_release_version 1.0
%define current_arch %{_arch}
@ -42,7 +42,7 @@ Obsoletes: yum-utils yum-utils-help yum-utils-plugins
%{product_family} release files
%package -n %{product_family}-performance
Requires: coreutils systemd setup
Requires: coreutils systemd setup bc
Summary: performance script
%description -n %{product_family}-performance
@ -170,6 +170,9 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) /root/.cshrc
%changelog
* Thu Dec 30 2021 gaochong <gaochong@uniontech.com> - 1.0-48
- require bc for caculating free memory
* Tue Dec 21 2021 gaochong <gaochong@uniontech.com> - 1.0-47
- get memeroy info from /proc/meminfo instead of command free