Hello community, here is the log from the commit of package tcmu-runner for openSUSE:Factory checked in at 2017-08-16 16:13:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tcmu-runner (Old) and /work/SRC/openSUSE:Factory/.tcmu-runner.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tcmu-runner" Wed Aug 16 16:13:30 2017 rev:4 rq:515820 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tcmu-runner/tcmu-runner.changes 2017-07-21 22:50:27.479767357 +0200 +++ /work/SRC/openSUSE:Factory/.tcmu-runner.new/tcmu-runner.changes 2017-08-16 16:13:30.947050300 +0200 @@ -1,0 +2,8 @@ +Wed Aug 9 21:48:42 UTC 2017 - [email protected] + +- Remove install prefix from beginning of install libdir when + setting tcmu-runner plugin path (bsc#1052795), adding + SUSE-specific patch: + * tcmu-runner-remove-handler-path-install-prefix.patch + +------------------------------------------------------------------- New: ---- tcmu-runner-remove-handler-path-install-prefix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tcmu-runner.spec ++++++ --- /var/tmp/diff_new_pack.Jvb78b/_old 2017-08-16 16:13:31.954908829 +0200 +++ /var/tmp/diff_new_pack.Jvb78b/_new 2017-08-16 16:13:31.970906583 +0200 @@ -40,6 +40,7 @@ Patch4: only-allow-dynamic-unregisterhandler-for-external-handlers-thereby-fixing-dos Patch5: fixed-a-number-of-memory-leaks-with-deregistering-of-dbus-handlers Patch6: removed-all-check_config-callback-implementations-to-avoid-security-issues +Patch7: %{name}-remove-handler-path-install-prefix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake BuildRequires: glib2-devel @@ -133,6 +134,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build CMAKE_OPTIONS="\ ++++++ tcmu-runner-remove-handler-path-install-prefix.patch ++++++ From: Lee Duncan <[email protected]> Date: Wed Aug 9 14:46:08 PDT 2017 Subject: [tcmu-runner] remove handler path install prefix Patch-mainline: never (suse-specific) Reference: bsc#1052795 The SUSE %cmake macro sets CMAKE_INSTALL_LIBDIR to /usr/lib64 but then sets CMAKE_INSTALL_PREFIX to /usr, so that the plugin path gets set to /usr/usr/lib64/tcmu-runner, which is not good. This fixes it for SUSE. diff -aurp tcmu-runner-1.2.0.orig/CMakeLists.txt tcmu-runner-1.2.0/CMakeLists.txt --- tcmu-runner-1.2.0.orig/CMakeLists.txt 2017-08-09 14:43:09.852647786 -0700 +++ tcmu-runner-1.2.0/CMakeLists.txt 2017-08-09 14:44:07.134410581 -0700 @@ -6,7 +6,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wal include(GNUInstallDirs) include(CheckIncludeFile) -set(tcmu-runner_HANDLER_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/tcmu-runner") +set(tcmu-runner_HANDLER_PATH "${CMAKE_INSTALL_LIBDIR}/tcmu-runner") option(with-glfs "build Gluster glfs handler" true) option(with-qcow "build qcow handler" true)
