From 557068def818fded250567720fd5b19e966b0a6d Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 15 Dec 2016 17:55:49 +0100 Subject: [PATCH] systemd: Allow RPATH The systemd tool now requires an rpath for libsystemd-shared library to run properly. Fixes #11272 Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- systemd/systemd.nm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 074440e48..52137f9a8 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ name = systemd version = 232 -release = 1 +release = 2 maintainer = Stefan Schantl groups = System/Base @@ -23,6 +23,11 @@ source_dl = https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/ build unitdir = %{prefix}/lib/systemd/system + # The tools which are shipped by systemd requires an rpath to + # the libsystemd-shared binary to run properly. So the macro for + # removing any rpath's have to be disabled. + MACRO_FIX_LIBTOOL = # Do nothing + requires # Testsuite /usr/bin/getfacl @@ -199,6 +204,12 @@ create_groups getent group systemd-journal >/dev/null || /usr/sbin/groupadd -r systemd-journal end +quality-agent + whitelist_rpath + %{prefix}/lib/systemd + end +end + packages package %{name} groups += Base -- 2.39.5