%bcond_without python3 # Python 3.x support
%bcond_with tests # "make check" (requires systemd already installed)
-%ifnarch %{ix86} %{x8664} x32 aarch64
+%ifnarch %{ix86} %{x8664} aarch64
+# x32 disabled - maybe it's possible to build x64 EFI, but it requires some hacking (add -m64 to EFI gcc command line?)
%undefine with_efi
%endif
Summary: A System and Service Manager
Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
Version: 221
-Release: 1
+Release: 2
Epoch: 1
License: GPL v2+ (udev), LGPL v2.1+ (the rest)
Group: Base
Patch10: pld-boot_efi_mount.patch
Patch11: optional-tmp-on-tmpfs.patch
Patch12: uids_gids.patch
+Patch13: sysctl.patch
URL: http://www.freedesktop.org/wiki/Software/systemd
BuildRequires: acl-devel
BuildRequires: attr-devel
Requires: udev-core = %{epoch}:%{version}-%{release}
Requires: udev-libs = %{epoch}:%{version}-%{release}
Requires: uname(release) >= 3.7
-Suggests: ConsoleKit
Suggests: fsck >= 2.25.0
Suggests: service(klogd)
Suggests: service(syslog)
Provides: user(systemd-network)
Provides: user(systemd-resolve)
Provides: user(systemd-timesync)
+Obsoletes: ConsoleKit
+Obsoletes: ConsoleKit-x11
Obsoletes: systemd-no-compat-tmpfiles
Obsoletes: udev-systemd
# sytemd wants pam with pam_systemd.so in system-auth...
%patch10 -p1
%patch11 -p1
%patch12 -p1
+%patch13 -p1
cp -p %{SOURCE2} src/systemd_booted.c
%build