mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 09:35:23 +00:00
rpm: ensure we own directories we might create
An RPM must own any directories its creates, unless it can guarantee a dependancy has ownership. Two packages owning the same directory is fine if permissions are consistent. We don't require augeas as a dep in most packages, so we must own the augeas lens directories. Likewise for systemtap tapset dirs. Our own cpu map dir also needs ownership. A few files are re-sorted, so that the files are listed immediately adjacent to the %dir that contains them. https://bugzilla.redhat.com/show_bug.cgi?id=2280979 Reviewed-by: Jiri Denemark <jdenemar@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
9e227634d3
commit
ef7c0f46f9
@ -2027,7 +2027,9 @@ exit 0
|
||||
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
|
||||
%config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
|
||||
%dir %{_datadir}/augeas/lenses
|
||||
%{_datadir}/augeas/lenses/libvirtd.aug
|
||||
%dir %{_datadir}/augeas/lenses/tests
|
||||
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
|
||||
%attr(0755, root, root) %{_sbindir}/libvirtd
|
||||
%{_mandir}/man8/libvirtd.8*
|
||||
@ -2433,15 +2435,17 @@ exit 0
|
||||
%{_libdir}/libvirt-lxc.so.*
|
||||
%{_libdir}/libvirt-admin.so.*
|
||||
%dir %{_datadir}/libvirt/
|
||||
%{_datadir}/libvirt/test-screenshot.png
|
||||
%dir %{_datadir}/libvirt/schemas/
|
||||
%{_datadir}/libvirt/schemas/*.rng
|
||||
%dir %{_datadir}/systemtap/tapset/
|
||||
%{_datadir}/systemtap/tapset/libvirt_probes*.stp
|
||||
%{_datadir}/systemtap/tapset/libvirt_functions.stp
|
||||
%if %{with_qemu}
|
||||
%{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
|
||||
%endif
|
||||
%{_datadir}/libvirt/schemas/*.rng
|
||||
%dir %{_datadir}/libvirt/cpu_map
|
||||
%{_datadir}/libvirt/cpu_map/*.xml
|
||||
%{_datadir}/libvirt/test-screenshot.png
|
||||
|
||||
%if %{with_wireshark}
|
||||
%files wireshark
|
||||
|
Loading…
Reference in New Issue
Block a user