Change manual page of free to reflect new used value (bsc#1206412)

OBS-URL: https://build.opensuse.org/package/show/Base:System/procps?expand=0&rev=239
This commit is contained in:
Dr. Werner Fink 2022-12-15 11:03:35 +00:00 committed by Git OBS Bridge
parent 5bc6f3828a
commit 2bc4b4cb95
3 changed files with 20 additions and 1 deletions

View File

@ -1,7 +1,19 @@
---
free.1 | 2 +-
proc/sysinfo.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
2 files changed, 6 insertions(+), 5 deletions(-)
--- free.1
+++ free.1 2022-12-15 09:40:32.807087343 +0000
@@ -19,7 +19,7 @@ columns are:
Total installed memory (MemTotal and SwapTotal in /proc/meminfo)
.TP
\fBused\fR
-Used memory (calculated as \fBtotal\fR - \fBfree\fR - \fBbuffers\fR - \fBcache\fR)
+Used memory (calculated as \fBtotal\fR - \fBavailable\fR)
.TP
\fBfree\fR
Unused memory (MemFree and SwapFree in /proc/meminfo)
--- proc/sysinfo.c
+++ proc/sysinfo.c 2022-06-22 11:29:39.240066488 +0000
@@ -794,10 +794,6 @@ nextline:

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 15 09:45:46 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Extend patch procps-3.3.17-library-bsc1181475.patch (bsc#1206412)
- Make sure that correct library version is installed (bsc#1206412)
-------------------------------------------------------------------
Thu Jun 23 11:28:42 UTC 2022 - Dr. Werner Fink <werner@suse.de>

View File

@ -79,6 +79,7 @@ BuildRequires: xz
BuildRequires: pkgconfig(libsystemd)
Provides: ps = %{version}-%{release}
Obsoletes: ps < %{version}-%{release}
Requires: %{libname} = %{version}-%{release}
%ifarch ia64 x86_64 ppc64 ppc %{sparc}
BuildRequires: libnuma-devel
%endif