Source0: https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/%{name}-%{version}.tar.bz2
# Source0-md5: 5cb95118e21d0cf2348069847c3879e8
Patch0: systemd-fallback.patch
-Patch1: elogind.patch
URL: https://www.freedesktop.org/wiki/Software/polkit
BuildRequires: dbus-devel
BuildRequires: docbook-dtd412-xml
%if %{with consolekit} && (%{with systemd} || %{with elogind})
%patch0 -p1
%endif
-%if %{with elogind}
-%patch1 -p1
-%endif
%build
%meson build \