spec: Fix permissions of nwfilter XMLs
spec: Fix permissions of nwfilter XMLs

The nwfilter XMLs in /etc are defined as %ghost in the spec file, which
means rpm will not install them, but it will record its existence and
permissions in the database. During installation the files are copied in
a %post scriptlet from /usr/share/libvirt/nwfilter, but once libvirtd is
restarted, it will rewrite the files to add generated UUIDs.

While RPM recorded 644 mode for the XMLs, libvirt saves them with 600
and thus any future attempt to verify the libvirt-daemon-config-nwfilter
package would fail. We need to tell RPM the ghost files are supposed to
have 600 permissions.

https://bugzilla.redhat.com/show_bug.cgi?id=1559284

Signed-off-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>
Reviewed-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>

olafhering/libvirt,libvirt/libvirt,nertpinx/libvirt,nertpinx/libvirt,andreabolognani/libvirt,jardasgit/libvirt,jfehlig/libvirt,nertpinx/libvirt,jardasgit/libvirt,zippy2/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,libvirt/libvirt,eskultety/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,jardasgit/libvirt,crobinso/libvirt,eskultety/libvirt,crobinso/libvirt,fabianfreyer/libvirt,olafhering/libvirt,eskultety/libvirt,jfehlig/libvirt,jardasgit/libvirt,libvirt/libvirt,jardasgit/libvirt,andreabolognani/libvirt,jfehlig/libvirt,eskultety/libvirt,eskultety/libvirt,olafhering/libvirt,crobinso/libvirt,zippy2/libvirt,jfehlig/libvirt,andreabolognani/libvirt,nertpinx/libvirt,libvirt/libvirt,andreabolognani/libvirt,olafhering/libvirt,zippy2/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt