Hello community,

here is the log from the commit of package kdesu for openSUSE:Factory checked 
in at 2018-02-16 21:29:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdesu (Old)
 and      /work/SRC/openSUSE:Factory/.kdesu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdesu"

Fri Feb 16 21:29:54 2018 rev:50 rq:576525 version:5.43.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdesu/kdesu.changes      2018-01-22 
15:59:40.654824817 +0100
+++ /work/SRC/openSUSE:Factory/.kdesu.new/kdesu.changes 2018-02-16 
21:29:55.587019764 +0100
@@ -1,0 +2,11 @@
+Mon Feb 12 23:42:08 CET 2018 - [email protected]
+
+- Update to 5.43.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.43.0.php
+- Changes since 5.42.0:
+  * Make KDESU_USE_SUDO_DEFAULT mode build again
+  * Make kdesu work when PWD is /usr/bin
+
+-------------------------------------------------------------------

Old:
----
  kdesu-5.42.0.tar.xz

New:
----
  kdesu-5.43.0.tar.xz

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

Other differences:
------------------
++++++ kdesu.spec ++++++
--- /var/tmp/diff_new_pack.l3jx0w/_old  2018-02-16 21:29:56.410990009 +0100
+++ /var/tmp/diff_new_pack.l3jx0w/_new  2018-02-16 21:29:56.414989864 +0100
@@ -18,13 +18,13 @@
 
 %bcond_without lang
 %define lname   libKF5Su5
-%define _tar_path 5.42
+%define _tar_path 5.43
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           kdesu
-Version:        5.42.0
+Version:        5.43.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 3.0

++++++ kdesu-5.42.0.tar.xz -> kdesu-5.43.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesu-5.42.0/CMakeLists.txt 
new/kdesu-5.43.0/CMakeLists.txt
--- old/kdesu-5.42.0/CMakeLists.txt     2018-01-07 17:17:42.000000000 +0100
+++ new/kdesu-5.43.0/CMakeLists.txt     2018-02-05 12:59:26.000000000 +0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.42.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.42.0") # handled by release scripts
+set(KF5_VERSION "5.43.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.43.0") # handled by release scripts
 project(KDESu VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.42.0  NO_MODULE)
+find_package(ECM 5.43.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/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/kdesu-5.42.0/po/zh_CN/kdesud5.po 
new/kdesu-5.43.0/po/zh_CN/kdesud5.po
--- old/kdesu-5.42.0/po/zh_CN/kdesud5.po        2018-01-07 17:17:42.000000000 
+0100
+++ new/kdesu-5.43.0/po/zh_CN/kdesud5.po        2018-02-05 12:59:26.000000000 
+0100
@@ -7,7 +7,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-11-19 20:11+0100\n"
-"PO-Revision-Date: 2018-01-05 06:38-0500\n"
+"PO-Revision-Date: 2018-02-01 07:11-0500\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesu-5.42.0/src/CMakeLists.txt 
new/kdesu-5.43.0/src/CMakeLists.txt
--- old/kdesu-5.42.0/src/CMakeLists.txt 2018-01-07 17:17:42.000000000 +0100
+++ new/kdesu-5.43.0/src/CMakeLists.txt 2018-02-05 12:59:26.000000000 +0100
@@ -51,7 +51,7 @@
 )
 
 if(KDESU_USE_SUDO_DEFAULT)
-   set_source_files_properties(su.cpp PROPERTIES 
+   set_source_files_properties(suprocess.cpp PROPERTIES 
                                COMPILE_FLAGS -DKDESU_USE_SUDO_DEFAULT)
 endif()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesu-5.42.0/src/suprocess.cpp 
new/kdesu-5.43.0/src/suprocess.cpp
--- old/kdesu-5.42.0/src/suprocess.cpp  2018-01-07 17:17:42.000000000 +0100
+++ new/kdesu-5.43.0/src/suprocess.cpp  2018-02-05 12:59:26.000000000 +0100
@@ -25,14 +25,6 @@
 #include <ksharedconfig.h>
 #include <kuser.h>
 
-#ifndef __PATH_SU
-#define __PATH_SU "false"
-#endif
-
-#ifndef __PATH_SUDO
-#define __PATH_SUDO "false"
-#endif
-
 #ifdef KDESU_USE_SUDO_DEFAULT
 #  define DEFAULT_SUPER_USER_COMMAND QStringLiteral("sudo")
 #else
@@ -127,18 +119,9 @@
     args += QByteArray(CMAKE_INSTALL_FULL_LIBEXECDIR_KF5) + "/kdesu_stub";
     args += "-"; // krazy:exclude=doublequote_chars (QList, not QString)
 
-    QByteArray command;
-    if (d->superUserCommand == QLatin1String("sudo")) {
-        command = __PATH_SUDO;
-    } else {
-        command = __PATH_SU;
-    }
-
-    if (QT_ACCESS(command.constData(), X_OK) != 0) {
-        command = 
QFile::encodeName(QStandardPaths::findExecutable(d->superUserCommand));
-        if (command.isEmpty()) {
-            return check ? SuNotFound : -1;
-        }
+    const QByteArray command = 
QFile::encodeName(QStandardPaths::findExecutable(d->superUserCommand));
+    if (command.isEmpty()) {
+        return check ? SuNotFound : -1;
     }
 
     if (StubProcess::exec(command, args) < 0) {


Reply via email to