summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-11-25 18:35:36 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2015-11-26 12:07:17 +0100
commit5484044ea7bb632b915f706685fce509f6eacc48 (patch)
treedb0fabc0556c321421046dd8cdefb4b143018028 /contrib
parentddb51fdac4fbb97a72ba70ae7345c62a03e90c26 (diff)
downloadsssd-5484044ea7bb632b915f706685fce509f6eacc48.tar.gz
sssd-5484044ea7bb632b915f706685fce509f6eacc48.tar.xz
sssd-5484044ea7bb632b915f706685fce509f6eacc48.zip
BUILD: Only install polkit rules if the directory is available
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index cff77b29e..710ba9220 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -23,6 +23,8 @@
# talk to pcscd if SSSD runs as unpriviledged user
%if (0%{?fedora} || 0%{?rhel} >= 7)
%global install_pcscd_polkit_rule 1
+%else
+ %global enable_polkit_rules_option --disable-polkit-rules-path
%endif
%if (0%{?use_systemd} == 1)
@@ -570,6 +572,7 @@ autoreconf -ivf
%{?with_syslog} \
%{?with_cifs_utils_plugin_option} \
%{?with_python3_option} \
+ %{?enable_polkit_rules_option} \
%{?experimental}
make %{?_smp_mflags} all