mirror of https://gitee.com/openkylin/libvirt.git
Fix polkit macros for RHEL
This commit is contained in:
parent
d5fc8b3036
commit
bb020a9f75
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Dec 6 10:35:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* libvirt.spec.in: Fix macros build on RHEL distros
|
||||||
|
|
||||||
Thu Dec 6 15:53:41 CET 2007 Daniel Veillard <veillard@redhat.com>
|
Thu Dec 6 15:53:41 CET 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* docs/*: rebuilt the docs and XML files
|
* docs/*: rebuilt the docs and XML files
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- rpm-spec -*-
|
# -*- rpm-spec -*-
|
||||||
|
|
||||||
%if %{fedora} >= 8
|
%if 0%{?fedora} >= 8
|
||||||
%define with_polkit 1
|
%define with_polkit 1
|
||||||
%define with_proxy no
|
%define with_proxy no
|
||||||
%else
|
%else
|
||||||
|
@ -160,7 +160,9 @@ fi
|
||||||
%{_datadir}/libvirt/networks/default.xml
|
%{_datadir}/libvirt/networks/default.xml
|
||||||
%dir %{_localstatedir}/run/libvirt/
|
%dir %{_localstatedir}/run/libvirt/
|
||||||
%dir %{_localstatedir}/lib/libvirt/
|
%dir %{_localstatedir}/lib/libvirt/
|
||||||
|
%if %{with_polkit}
|
||||||
%{_datadir}/PolicyKit/policy/libvirtd.policy
|
%{_datadir}/PolicyKit/policy/libvirtd.policy
|
||||||
|
%endif
|
||||||
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
|
||||||
%if %{with_proxy} == "yes"
|
%if %{with_proxy} == "yes"
|
||||||
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
|
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
|
||||||
|
|
Loading…
Reference in New Issue