From 67dadfd9e4bc8f228b926a940e6d1ffa9a698ce1 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sun, 14 Oct 2018 11:15:48 -0500 Subject: [PATCH] respin --- D16183.diff | 16 ---------------- kf5-kcrash.spec | 7 ++++--- sources | 2 +- 3 files changed, 5 insertions(+), 20 deletions(-) delete mode 100644 D16183.diff diff --git a/D16183.diff b/D16183.diff deleted file mode 100644 index b2da131..0000000 --- a/D16183.diff +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/kcrash.cpp b/src/kcrash.cpp ---- a/src/kcrash.cpp -+++ b/src/kcrash.cpp -@@ -135,7 +135,10 @@ - qCDebug(LOG_KCRASH) << "KCrash disabled through environment."; - } - -- KCrash::setApplicationFilePath(QCoreApplication::applicationFilePath()); -+ if (QCoreApplication::instance()) -+ KCrash::setApplicationFilePath(QCoreApplication::applicationFilePath()); -+ else -+ qWarning() << "This process needs a QCoreApplication instance in order to use KCrash"; - - s_coreConfig(); // Initialize. - } - diff --git a/kf5-kcrash.spec b/kf5-kcrash.spec index 01136ca..d4bc4e8 100755 --- a/kf5-kcrash.spec +++ b/kf5-kcrash.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.51.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: KDE Frameworks 5 Tier 2 addon for handling application crashes License: LGPLv2+ @@ -18,8 +18,6 @@ URL: https://cgit.kde.org/%{framework}.git Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz ## upstream patches -# https://phabricator.kde.org/D16183 -Patch1: https://phabricator.kde.org/file/data/tyfruhevy6a3jhg5ns7p/PHID-FILE-6lgblwlrp6pq6ziqhjjc/D16183.diff BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: kf5-kcoreaddons-devel >= %{majmin} @@ -78,6 +76,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Sun Oct 14 2018 Rex Dieter - 5.51.0-3 +- respin + * Sun Oct 14 2018 Rex Dieter - 5.51.0-2 - KCrash: fix crash when used in an app without QCoreApplication diff --git a/sources b/sources index 5177aac..f1b2371 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kcrash-5.51.0.tar.xz) = 510dd18e26d0991ded9449db1d6a76df500b9b0d8c5d5b7ffe718fa84399b85f33b944caea9591d61de9e0413c9f472ee5b6079bda41c0314a81eb9ca2e7ad6c +SHA512 (kcrash-5.51.0.tar.xz) = 7945fca845f019f847fbef85de4934556da2183be5a2e48ae3dc0b71f1a0e5aa4e21a65ca9fcdbd7aab02aa36cb125b14768d34b7f3fd49f2666d3d8377d9356