From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] systemd: Allow RPATH. Date: Thu, 15 Dec 2016 17:55:49 +0100 Message-ID: <1481820949-27395-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1835448341382728391==" List-Id: --===============1835448341382728391== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The systemd tool now requires an rpath for libsystemd-shared library to run properly. Fixes #11272. Signed-off-by: Stefan Schantl --- systemd/systemd.nm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 074440e..e761bd5 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ =20 name =3D systemd version =3D 232 -release =3D 1 +release =3D 2 =20 maintainer =3D Stefan Schantl groups =3D System/Base @@ -23,6 +23,11 @@ source_dl =3D https://github.com/%{name}/%{name}/archive/= v%{version}.tar.gz#/ build unitdir =3D %{prefix}/lib/systemd/system =20 + # 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 =3D #Do nothing. + requires # Testsuite /usr/bin/getfacl @@ -199,6 +204,13 @@ create_groups getent group systemd-journal >/dev/null || /usr/sbin/groupadd -r systemd-jo= urnal end =20 +quality-agent + whitelist_rpath + %{prefix}/lib/systemd + end +end + + packages package %{name} groups +=3D Base --=20 2.7.4 --===============1835448341382728391==--