]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
systemd: Enable build of compat libs.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 16 Oct 2015 15:35:34 +0000 (17:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Oct 2015 21:24:53 +0000 (22:24 +0100)
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 <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
systemd/systemd.nm

index 7112a3cc169cf2e932724b83faebf8c3e06e539f..7346c09bb6c0340badb8a002293f4784b2a3ab30 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = systemd
 version    = 221
-release    = 1
+release    = 2
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 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