From: Stefan Schantl Date: Fri, 16 Oct 2015 15:35:34 +0000 (+0200) Subject: systemd: Enable build of compat libs. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cdcf12702ac05a3ba368f0667fe7daf2e5dbd78;p=ipfire-3.x.git systemd: Enable build of compat libs. Some software out there is still linking against the old systemd libraries which now are shipped in an own package. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 7112a3cc1..7346c09bb 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ name = systemd version = 221 -release = 1 +release = 2 maintainer = Stefan Schantl groups = System/Base @@ -60,6 +60,7 @@ build --with-sysvrcnd-path= \ --enable-introspection \ --enable-zlib \ + --enable-compat-libs \ --disable-smack \ --disable-backlight \ --disable-firstboot \ @@ -358,9 +359,30 @@ packages end end + package %{name}-compat-libs + summary = systemd compatibility libraries. + description + Compatibility libraries for systemd. If your package requires this + package, you need to update your link options and build. + end + + requires + %{name}-libs = %{thisver} + end + + files + %{libdir}/libsystemd-daemon.so.* + %{libdir}/libsystemd-login.so.* + %{libdir}/libsystemd-journal.so.* + %{libdir}/libsystemd-id128.so.* + end + end + package %{name}-devel template DEVEL + requires += %{name}-compat-libs = %{thisver} + files += %{prefix}/lib/pakfire/macros/ end