Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nmon for openSUSE:Factory checked in 
at 2025-09-09 20:30:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nmon (Old)
 and      /work/SRC/openSUSE:Factory/.nmon.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nmon"

Tue Sep  9 20:30:03 2025 rev:16 rq:1303197 version:16q

Changes:
--------
--- /work/SRC/openSUSE:Factory/nmon/nmon.changes        2025-02-09 
20:45:00.809967124 +0100
+++ /work/SRC/openSUSE:Factory/.nmon.new.1977/nmon.changes      2025-09-09 
20:30:33.558020809 +0200
@@ -1,0 +2,5 @@
+Mon Sep  8 12:24:55 UTC 2025 - Dirk Müller <[email protected]>
+
+- add nmon-incrase-cpumax-to-support-2048-cpus.patch (bsc#1247368)
+
+-------------------------------------------------------------------

New:
----
  nmon-incrase-cpumax-to-support-2048-cpus.patch

----------(New B)----------
  New:
- add nmon-incrase-cpumax-to-support-2048-cpus.patch (bsc#1247368)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nmon.spec ++++++
--- /var/tmp/diff_new_pack.soXIHV/_old  2025-09-09 20:30:34.242049636 +0200
+++ /var/tmp/diff_new_pack.soXIHV/_new  2025-09-09 20:30:34.246049804 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nmon
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2011-2013 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -25,6 +25,7 @@
 URL:            https://nmon.sourceforge.io/pmwiki.php
 Source0:        https://sourceforge.net/projects/nmon/files/lmon%{version}.c
 Source1:        https://www.gnu.org/licenses/gpl-3.0.txt
+Patch1:         nmon-incrase-cpumax-to-support-2048-cpus.patch
 BuildRequires:  ncurses-devel
 Provides:       lmon = %{version}
 
@@ -53,6 +54,8 @@
 
 %prep
 %setup -q -T -c %{name}-%{version}
+install -m 644 %{SOURCE0} lmon%{version}.c
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags} \
@@ -64,7 +67,7 @@
   %if !0%{?is_opensuse}
   -D SLES12 \
   %endif
-  %{SOURCE0}"
+  lmon%{version}.c"
 export LDFLAGS="-o nmon \
   -lncurses \
   -lm \

++++++ nmon-incrase-cpumax-to-support-2048-cpus.patch ++++++
From: Seeteena Thoufeek <[email protected]>
Subject: [PATCH] lmon16q.c: increase CPUMAX to support up to 2048 CPUs

nmon currently fails on systems with high CPU counts due to a low CPUMAX 
setting.
This patch increases the CPUMAX value to support systems with up to 2048 CPUs.

--- a/lmon16q.c 2025-07-03 16:48:03.567956477 +0530
+++ b/lmon16q.c 2025-07-03 16:53:33.641940838 +0530
@@ -1443,7 +1443,7 @@
 
 /* Supports up to 780, but not POWER6 595 follow-up with POWER7 */
 /* XXXX needs rework to cope to with fairly rare but interesting higher 
numbers of CPU machines */
-#define CPUMAX (192 * 8)       /* MAGIC COOKIE WARNING */
+#define CPUMAX (256 * 8)       /* MAGIC COOKIE WARNING */
 
 struct data {
     struct dsk_stat *dk;

Reply via email to