Bug 2280979

Summary: The directory /usr/share/libvirt/cpu_map/ is not in the RPM database.
Product: [Fedora] Fedora Reporter: Christoph Karl <pampelmuse>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: berrange, clalancette, crobinso, jforbes, jiyin, laine, libvirt-maint, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-17 11:22:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christoph Karl 2024-05-17 15:02:26 UTC
The directory /usr/share/libvirt/cpu_map/ is not in the RPM database.


Reproducible: Always

Steps to Reproduce:
1. rpm -qf /usr/share/libvirt/cpu_map/
file /usr/share/libvirt/cpu_map is not owned by any package
Actual Results:  
file /usr/share/libvirt/cpu_map is not owned by any package

Expected Results:  
libvirt-libs-10.1.0-1.fc40.x86_64

Comment 1 Christoph Karl 2024-05-17 15:03:57 UTC
I guess in "libvirt.spec" around line 2409 the following line is missing:
%dir %{_datadir}/libvirt/cpu_map/

Comment 2 Christoph Karl 2024-05-26 06:29:18 UTC
Same for
/usr/share/augeas/lenses/tests

Comment 3 Daniel Berrangé 2024-12-17 11:22:28 UTC
I've fixed it upstream in

https://gitlab.com/libvirt/libvirt/-/commit/ef7c0f46f9629f6bc9537703df5b78efc2d69ab0

and the same fix is queued for rawhide for the next build.

I won't fix f40/41 since the issues are quite minor.

Comment 4 Christoph Karl 2025-05-10 05:56:29 UTC
Works for me.
Thank you.