Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
Version: 208
-Release: 9
+Release: 13
Epoch: 1
License: GPL v2+ (udev), LGPL v2.1+ (the rest)
Group: Base
Patch15: hibernate-to-file.patch
Patch16: systemd-configfs.patch
Patch17: pld-boot_efi_mount.patch
+Patch18: optional-tmp-on-tmpfs.patch
URL: http://www.freedesktop.org/wiki/Software/systemd
BuildRequires: acl-devel
BuildRequires: attr-devel
Provides: udev-acl = %{epoch}:%{version}-%{release}
Obsoletes: systemd-no-compat-tmpfiles
Obsoletes: udev-systemd
-# systemd takes care of that and causes problems
-Conflicts: binfmt-detector
# sytemd wants pam with pam_systemd.so in system-auth...
Conflicts: pam < 1:1.1.5-5
# ...and sudo hates it
Obsoletes: virtual(init-daemon)
Conflicts: rc-scripts < 0.4.5.5-2
Conflicts: upstart
+# systemd takes care of that and causes problems
+Conflicts: binfmt-detector
%description init
Install this package when you are ready to final switch to systemd.
%patch15 -p1
%patch16 -p1
%patch17 -p1
+%patch18 -p1
cp -p %{SOURCE2} src/systemd_booted.c
%build
ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
-# and remove tmp on tmpfs mount
-%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount
+# and remove mounting tmp on tmpfs by default
%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
# Install and enable storage subsystems support services (RAID, LVM, etc.)