!105 add dc dependency for caculating free memory
Merge pull request !105 from 这瓜保熟麻/openEuler-20.03-LTS-SP3
This commit is contained in:
commit
6d7c0d7f1e
@ -6,7 +6,7 @@
|
|||||||
%define generic_version 20.03
|
%define generic_version 20.03
|
||||||
%define generic_patch_level LTS
|
%define generic_patch_level LTS
|
||||||
%define generic_patch_level_extend SP3
|
%define generic_patch_level_extend SP3
|
||||||
%define generic_release 47
|
%define generic_release 48
|
||||||
%define builtin_release_version 1.0
|
%define builtin_release_version 1.0
|
||||||
|
|
||||||
%define current_arch %{_arch}
|
%define current_arch %{_arch}
|
||||||
@ -42,7 +42,7 @@ Obsoletes: yum-utils yum-utils-help yum-utils-plugins
|
|||||||
%{product_family} release files
|
%{product_family} release files
|
||||||
|
|
||||||
%package -n %{product_family}-performance
|
%package -n %{product_family}-performance
|
||||||
Requires: coreutils systemd setup
|
Requires: coreutils systemd setup bc
|
||||||
|
|
||||||
Summary: performance script
|
Summary: performance script
|
||||||
%description -n %{product_family}-performance
|
%description -n %{product_family}-performance
|
||||||
@ -170,6 +170,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) /root/.cshrc
|
%config(noreplace) /root/.cshrc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Dec 21 2021 gaochong <gaochong@uniontech.com> - 1.0-47
|
||||||
- get memeroy info from /proc/meminfo instead of command free
|
- get memeroy info from /proc/meminfo instead of command free
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user