From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] systemd: Enable build of compat libs. Date: Fri, 16 Oct 2015 17:35:34 +0200 Message-ID: <1445009734-29367-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6216251624091378411==" List-Id: --===============6216251624091378411== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- systemd/systemd.nm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 7112a3c..7346c09 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 -- 2.4.3 --===============6216251624091378411==--