Commit c7090ff7 authored by Andrea Bolognani's avatar Andrea Bolognani

configure: Fix default polkit rules directory

The polkit hierarchy under $(sysconfdir) is intended as
a way for the local administrator to agument or override
the vendor configuration, so we should install our rules
under $(datadir) instead.
Signed-off-by: default avatarAndrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina's avatarPavel Hrdina <phrdina@redhat.com>
parent 50f25e7d
......@@ -66,7 +66,7 @@ DBUS_INTERFACES_DIR="$with_dbus_interfaces"
AC_SUBST([DBUS_INTERFACES_DIR])
LIBVIRT_ARG_WITH([POLKIT_RULES], [directory for polkit rules],
['$(sysconfdir)/polkit-1/rules.d'])
['$(datadir)/polkit-1/rules.d'])
POLKIT_RULES_DIR="$with_polkit_rules"
AC_SUBST(POLKIT_RULES_DIR)
......
......@@ -50,12 +50,12 @@ exit 0
%files
%doc README.md HACKING.md AUTHORS NEWS
%license COPYING
%{_sysconfdir}/polkit-1/rules.d/libvirt-dbus.rules
%{_bindir}/libvirt-dbus
%{_datadir}/dbus-1/services/org.libvirt.service
%{_datadir}/dbus-1/system-services/org.libvirt.service
%{_datadir}/dbus-1/system.d/org.libvirt.conf
%{_datadir}/dbus-1/interfaces/org.libvirt.*.xml
%{_datadir}/polkit-1/rules.d/libvirt-dbus.rules
%{_mandir}/man8/libvirt-dbus.8*
%changelog
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment