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 <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stefan Schantl 2015-10-16 17:35:34 +02:00 committed by Michael Tremer
parent 549db1aec9
commit 4cdcf12702
1 changed files with 23 additions and 1 deletions

View 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