Hello community, here is the log from the commit of package elektra for openSUSE:Factory checked in at 2018-06-08 23:15:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/elektra (Old) and /work/SRC/openSUSE:Factory/.elektra.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elektra" Fri Jun 8 23:15:42 2018 rev:5 rq:614414 version:0.8.20 Changes: -------- --- /work/SRC/openSUSE:Factory/elektra/elektra.changes 2018-01-16 09:43:11.639376542 +0100 +++ /work/SRC/openSUSE:Factory/.elektra.new/elektra.changes 2018-06-08 23:16:02.314822171 +0200 @@ -1,0 +2,6 @@ +Tue Jun 5 13:16:59 UTC 2018 - wba...@tmo.at + +- Add Qt-GUI-Do-not-use-deprecated-qt_use_modules.patch to fix + build with Qt 5.11 + +------------------------------------------------------------------- New: ---- Qt-GUI-Do-not-use-deprecated-qt_use_modules.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ elektra.spec ++++++ --- /var/tmp/diff_new_pack.vXUThz/_old 2018-06-08 23:16:03.418782299 +0200 +++ /var/tmp/diff_new_pack.vXUThz/_new 2018-06-08 23:16:03.422782154 +0200 @@ -67,6 +67,8 @@ #BuildRequires: python-devel #BuildRequires: swig Patch: patch-fix-augeas-config.patch +# PATCH-FIX-UPSTREAM Qt-GUI-Do-not-use-deprecated-qt_use_modules.patch -- fix build with Qt 5.11 +Patch1: Qt-GUI-Do-not-use-deprecated-qt_use_modules.patch Summary: A key/value pair database to store software configurations License: BSD-3-Clause @@ -171,6 +173,7 @@ %prep %setup -q %patch -p1 +%patch1 -p1 %build export SUSE_ASNEEDED=0 ++++++ Qt-GUI-Do-not-use-deprecated-qt_use_modules.patch ++++++ >From 8e156aac68e4dc202483d86fd33a24dfa53d3d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Schwaiger?= <sansseco...@me.com> Date: Wed, 23 May 2018 07:32:22 +0200 Subject: [PATCH] Qt-GUI: Do not use deprecated `qt5_use_modules` --- src/tools/qt-gui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/qt-gui/CMakeLists.txt b/src/tools/qt-gui/CMakeLists.txt index 65e118a4df..7acf6b72c7 100644 --- a/src/tools/qt-gui/CMakeLists.txt +++ b/src/tools/qt-gui/CMakeLists.txt @@ -61,7 +61,7 @@ else () add_executable(qt-gui ${qt-gui_SRCS} ${qt-gui_HDRS} ${UIS} ${RSCS} ${TRS}) add_dependencies (qt-gui kdberrors_generated) -qt5_use_modules(qt-gui Quick Gui Core Qml Widgets) +target_link_libraries(qt-gui Qt5::Quick Qt5::Gui Qt5::Core Qt5::Qml Qt5::Widgets) include_directories(${DISCOUNT_INCLUDES}) target_link_libraries(qt-gui ${DISCOUNT_LIBRARIES})