###############################################################################
name = systemd
-version = 194
+version = 201
release = 1
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
unitdir = %{prefix}/lib/systemd/system
requires
+ attr-devel
audit-devel
automake
autoconf
end
configure_options += \
- --with-distro=ipfire \
+ --with-sysvinit-path= \
+ --with-sysvrcnd-path= \
+ --enable-introspection=yes \
--disable-static
prepare_cmds
# Replace absolute symlinks by relative ones.
cd %{BUILDROOT}%{unitdir}/../user
- for i in bluetooth local-fs printer remote-fs shutdown sockets sound swap; do
+ for i in bluetooth local-fs paths printer remote-fs shutdown smartcard sockets sound swap timers; do
ln -svf ../system/${i}.target ${i}.target || exit 1
done
# Remove tmpfile for X11
rm -rfv %{BUILDROOT}/usr/lib/tmpfiles.d/x11.conf
- # Remove unneeded symlink for xdg
- rm -rfv %{BUILDROOT}/etc/xdg/systemd
+ # Remove unneeded stuff for xdg
+ rm -rfv %{BUILDROOT}/etc/xdg
+
+ # Remove unneeded stuff for rpm.
+ rm -rvf %{BUILDROOT}/etc/rpm
# Use journald. Enable the import of kernel messages.
# Stop forwarding to a syslog daemon.
-e "s/^#ForwardToSyslog=.*$/ForwardToSyslog=no/" \
-e "s/^#ImportKernel=.*$/ImportKernel=yes/" \
-i %{BUILDROOT}/etc/systemd/journald.conf
+
+ # Install legacy tmpfile to autocreate /run/lock on startup.
+ install -v -m 644 %{DIR_APP}/tmpfiles.d/legacy.conf %{BUILDROOT}%{prefix}/lib/tmpfiles.d/
end
end
hwdata
python-cairo
python-dbus
+ python-gobject3
%{name}-units=%{thisver}
util-linux>=2.19
end
end
conflicts
+ bash-completion < 2.1
dracut < 019
filesystem < 002
rsyslog < 5.8.6-4
end
end
+ package %{name}-libs
+ template LIBS
+ end
+
package %{name}-devel
template DEVEL
end
files
- %{libdir}/libgudev*.so.*
+ %{libdir}/lib*udev*.so.*
%{libidr}/girepository*/
end
end