]> xenbits.xensource.com Git - libvirt.git/commit
spec: move some dirs into appropriate subpackages
authorMichael Chapman <mike@very.puzzling.org>
Thu, 6 Mar 2014 02:46:45 +0000 (13:46 +1100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 17 Mar 2014 15:43:24 +0000 (16:43 +0100)
commit9add02a0b098333bb65a971962ec8871058afb0e
treeacb497b69fb82712020a519997e40b33cbe42839
parentb396fae9e2fc6c8c49b80ff737d718c322c78ae8
spec: move some dirs into appropriate subpackages

This commit moves a few directories into more appropriate subpackages.
In a few cases a directory is owned by two subpackages, however this is
OK as long as the permissions and ownership for the directory are
consistent between them.

- %{_sysconfdir}/libvirt/qemu/

  Used by the qemu and network drivers.

  When building with separate driver modules, this directory is only
  owned by l-d-d-network. l-d-d-qemu has a hard dependency on
  l-d-d-network, which means this directory is created with the
  correct permissions and ownership, however it's clearer if both
  subpackages own the directory independently.

- %{_sysconfdir}/libvirt/nwfilter/

  Used by the nwfilter driver only.

  This directory is currently always owned by libvirt-daemon. This
  commit moves it into l-d-d-nwfilter when building with separate
  driver modules.

- %{_localstatedir}/run/libvirt/network/

  Used by the network and nwfilter drivers.

  When building without separate driver modules, this directory is
  should be owned by libvirt-daemon only if either of these drivers
  are enabled. When building with separate driver modules, this
  directory should be owned by l-d-d-nwfilter in addition to
  l-d-d-network.

- %{_datadir}/libvirt/networks/ and
  %{_datadir}/libvirt/networks/default.xml

  Used only by the %post scriptlet in libvirt-daemon-config-network.

Signed-off-by: Michael Chapman <mike@very.puzzling.org>
libvirt.spec.in