Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kf6-kcrash for openSUSE:Factory 
checked in at 2024-04-15 20:11:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-kcrash (Old)
 and      /work/SRC/openSUSE:Factory/.kf6-kcrash.new.26366 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kf6-kcrash"

Mon Apr 15 20:11:51 2024 rev:2 rq:1167178 version:6.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kf6-kcrash/kf6-kcrash.changes    2024-03-11 
15:25:38.572125231 +0100
+++ /work/SRC/openSUSE:Factory/.kf6-kcrash.new.26366/kf6-kcrash.changes 
2024-04-15 20:14:41.988251563 +0200
@@ -1,0 +2,9 @@
+Fri Apr  5 12:52:31 UTC 2024 - Christophe Marin <[email protected]>
+
+- Update to 6.1.0
+  * New feature release
+- Changes since 6.0.0:
+  * update version for new release
+  * port to sigaction
+
+-------------------------------------------------------------------

Old:
----
  kcrash-6.0.0.tar.xz
  kcrash-6.0.0.tar.xz.sig

New:
----
  kcrash-6.1.0.tar.xz
  kcrash-6.1.0.tar.xz.sig

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

Other differences:
------------------
++++++ kf6-kcrash.spec ++++++
--- /var/tmp/diff_new_pack.1BGG41/_old  2024-04-15 20:14:44.400340337 +0200
+++ /var/tmp/diff_new_pack.1BGG41/_new  2024-04-15 20:14:44.400340337 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kf6-kcrash
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
 %define qt6_version 6.6.0
 
 %define rname kcrash
-# Full KF6 version (e.g. 6.0.0)
+# Full KF6 version (e.g. 6.1.0)
 %{!?_kf6_version: %global _kf6_version %{version}}
 # Last major and minor KF6 version (e.g. 6.0)
 %{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without released
 Name:           kf6-kcrash
-Version:        6.0.0
+Version:        6.1.0
 Release:        0
 Summary:        An application crash handler
 License:        LGPL-2.1-or-later


++++++ kcrash-6.0.0.tar.xz -> kcrash-6.1.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcrash-6.0.0/CMakeLists.txt 
new/kcrash-6.1.0/CMakeLists.txt
--- old/kcrash-6.0.0/CMakeLists.txt     2024-02-21 12:24:22.000000000 +0100
+++ new/kcrash-6.1.0/CMakeLists.txt     2024-04-05 12:55:45.000000000 +0200
@@ -1,14 +1,14 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "6.0.0") # handled by release scripts
-set(KF_DEP_VERSION "6.0.0") # handled by release scripts
+set(KF_VERSION "6.1.0") # handled by release scripts
+set(KF_DEP_VERSION "6.1.0") # handled by release scripts
 project(KCrash VERSION ${KF_VERSION})
 
 set(CMAKE_CXX_STANDARD 20)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
 include(FeatureSummary)
-find_package(ECM 6.0.0  NO_MODULE)
+find_package(ECM 6.1.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcrash-6.0.0/src/kcrash.cpp 
new/kcrash-6.1.0/src/kcrash.cpp
--- old/kcrash-6.0.0/src/kcrash.cpp     2024-02-21 12:24:22.000000000 +0100
+++ new/kcrash-6.1.0/src/kcrash.cpp     2024-04-05 12:55:45.000000000 +0200
@@ -397,26 +397,33 @@
     sigset_t mask;
     sigemptyset(&mask);
 
+    const auto signals = {
 #ifdef SIGSEGV
-    signal(SIGSEGV, handler);
-    sigaddset(&mask, SIGSEGV);
+        SIGSEGV,
 #endif
 #ifdef SIGBUS
-    signal(SIGBUS, handler);
-    sigaddset(&mask, SIGBUS);
+        SIGBUS,
 #endif
 #ifdef SIGFPE
-    signal(SIGFPE, handler);
-    sigaddset(&mask, SIGFPE);
+        SIGFPE,
 #endif
 #ifdef SIGILL
-    signal(SIGILL, handler);
-    sigaddset(&mask, SIGILL);
+        SIGILL,
 #endif
 #ifdef SIGABRT
-    signal(SIGABRT, handler);
-    sigaddset(&mask, SIGABRT);
+        SIGABRT,
 #endif
+    };
+
+    for (const auto &signal : signals) {
+        struct sigaction action {
+        };
+        action.sa_handler = handler;
+        action.sa_flags = SA_RESTART;
+        sigemptyset(&action.sa_mask);
+        sigaction(signal, &action, nullptr);
+        sigaddset(&mask, signal);
+    }
 
     sigprocmask(SIG_UNBLOCK, &mask, nullptr);
 #endif

Reply via email to