Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cpulimit for openSUSE:Factory 
checked in at 2023-01-08 21:25:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpulimit (Old)
 and      /work/SRC/openSUSE:Factory/.cpulimit.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpulimit"

Sun Jan  8 21:25:41 2023 rev:5 rq:1056836 version:2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpulimit/cpulimit.changes        2021-12-23 
17:53:56.611726333 +0100
+++ /work/SRC/openSUSE:Factory/.cpulimit.new.1563/cpulimit.changes      
2023-01-08 21:25:42.567307681 +0100
@@ -1,0 +2,9 @@
+Thu Dec 29 22:56:56 UTC 2022 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.8:
+  * Made exit message when child signal is caught only show up
+  when in verbose mode.
+  * Adjusted the way the VERSION value is assigned in the Makefile.
+  CFLAGS was being overwritten by Debian's build process.
+
+-------------------------------------------------------------------

Old:
----
  cpulimit-2.7.tar.gz

New:
----
  cpulimit-2.8.tar.gz

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

Other differences:
------------------
++++++ cpulimit.spec ++++++
--- /var/tmp/diff_new_pack.y10cez/_old  2023-01-08 21:25:43.047310533 +0100
+++ /var/tmp/diff_new_pack.y10cez/_new  2023-01-08 21:25:43.055310580 +0100
@@ -2,7 +2,7 @@
 #
 # spec file for package cpulimit
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:           cpulimit
-Version:        2.7
+Version:        2.8
 Release:        0
 Summary:        Limit the CPU Usage of a Process
 License:        GPL-2.0-or-later

++++++ cpulimit-2.2-do_not_forget_version.patch ++++++
--- /var/tmp/diff_new_pack.y10cez/_old  2023-01-08 21:25:43.079310722 +0100
+++ /var/tmp/diff_new_pack.y10cez/_new  2023-01-08 21:25:43.083310746 +0100
@@ -1,11 +1,13 @@
---- a/cpulimit.c       2014-12-26 10:24:53.788487238 +0100
-+++ b/cpulimit.c       2014-12-26 10:25:17.024096912 +0100
-@@ -80,7 +80,7 @@
+Index: cpulimit-2.8/cpulimit.c
+===================================================================
+--- cpulimit-2.8.orig/cpulimit.c
++++ cpulimit-2.8/cpulimit.c
+@@ -88,7 +88,7 @@
  #endif
  
  #ifndef VERSION
--#define VERSION 2.4
-+#define VERSION 2.5
+-#define VERSION 0.0
++#define VERSION 2.8
  #endif
  
  //pid of the controlled process

++++++ cpulimit-2.7.tar.gz -> cpulimit-2.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.7/CHANGELOG new/cpulimit-2.8/CHANGELOG
--- old/cpulimit-2.7/CHANGELOG  2021-05-05 22:01:10.000000000 +0200
+++ new/cpulimit-2.8/CHANGELOG  2022-11-11 18:18:55.000000000 +0100
@@ -1,3 +1,11 @@
+========== Changes in 2.8 ================
+
+* Made exit message when child signal is caught only show up
+  when in verbose mode.
+
+* Adjusted the way the VERSION value is assigned in the Makefile.
+  CFLAGS was being overwritten by Debian's build process.
+
 ========== Changes in 2.7 ================
 
 * Fixed compiler warnings regarding string lengths.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.7/Makefile new/cpulimit-2.8/Makefile
--- old/cpulimit-2.7/Makefile   2021-05-05 22:00:00.000000000 +0200
+++ new/cpulimit-2.8/Makefile   2022-11-11 18:19:06.000000000 +0100
@@ -1,21 +1,21 @@
-VERSION?=2.7
+VERSION?=2.8
 PREFIX?=/usr
-CFLAGS?=-Wall -O2 -DVERSION=$(VERSION)
-CC?=gcc
+CFLAGS?=-Wall -O2
+CC?=clang
 
 all: cpulimit
 
 osx:
-       $(CC) -o cpulimit cpulimit.c -D__APPLE__ $(CFLAGS) $(CPPFLAGS) 
$(LDFLAGS)
+       $(CC) -o cpulimit cpulimit.c -D__APPLE__ $(CFLAGS) $(CPPFLAGS) 
$(LDFLAGS) -DVERSION=$(VERSION)
 
 minix:
-       $(CC) -o cpulimit cpulimit.c $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
+       $(CC) -o cpulimit cpulimit.c $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) 
-DVERSION=$(VERSION)
 
 freebsd:
-       $(CC) -o cpulimit cpulimit.c -lrt -DFREEBSD $(CFLAGS) $(CPPFLAGS) 
$(LDFLAGS)
+       $(CC) -o cpulimit cpulimit.c -lrt -DFREEBSD $(CFLAGS) $(CPPFLAGS) 
$(LDFLAGS) -DVERSION=$(VERSION)
 
 cpulimit: cpulimit.c
-       $(CC) -o cpulimit cpulimit.c -pthread -lrt -DLINUX $(CFLAGS) 
$(CPPFLAGS) $(LDFLAGS)
+       $(CC) -o cpulimit cpulimit.c -pthread -lrt -DLINUX $(CFLAGS) 
$(CPPFLAGS) $(LDFLAGS) -DVERSION=$(VERSION)
 
 tests:
        $(MAKE) -C test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.7/cpulimit.c new/cpulimit-2.8/cpulimit.c
--- old/cpulimit-2.7/cpulimit.c 2021-05-05 21:57:54.000000000 +0200
+++ new/cpulimit-2.8/cpulimit.c 2022-11-11 18:15:02.000000000 +0100
@@ -88,7 +88,7 @@
 #endif
 
 #ifndef VERSION
-#define VERSION 2.4
+#define VERSION 0.0
 #endif
 
 //pid of the controlled process
@@ -382,7 +382,8 @@
    // If this was the one process we were watching, we can quit now.
    if (caught_child == pid)
    {
-      printf("Child process is finished, exiting...\n");
+      if (verbose)
+         printf("Child process is finished, exiting...\n");
       exit(0);
    }
 }

Reply via email to