Distribute nwfilter xml files and add them to rpm

* examples/xml/nwfilter/Makefile.am: add all xml to the distribution
* libvirt.spec.in: reference them from the rpm spec file to have them
  available in the main libvirt package
This commit is contained in:
Daniel Veillard 2010-03-31 10:20:22 +02:00
parent 25d5e16e9e
commit b4b0949dd7
2 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,8 @@ FILTERS = \
no-mac-spoofing.xml \
no-other-l2-traffic.xml
EXTRA_DIST=$(FILTERS)
confdir = $(sysconfdir)/libvirt
NWFILTER_DIR = "$(DESTDIR)$(sysconfdir)/libvirt/nwfilter"

View File

@ -670,6 +670,9 @@ fi
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
%endif
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
%{_sysconfdir}/libvirt/nwfilter/*.xml
%{_sysconfdir}/rc.d/init.d/libvirtd
%config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf