Bug 2280150

Summary: directories are missing in RPM database
Product: [Fedora] Fedora Reporter: Christoph Karl <pampelmuse>
Component: shared-mime-infoAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: gnome-sig, klember, mclasen, mhroncok, rdieter, rhughes, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: shared-mime-info-2.3-5.fc41 shared-mime-info-2.3-5.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 11:39:32 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-12 16:04:39 UTC
The following two directories are missing:
/usr/share/gettext
/usr/share/gettext/its



Reproducible: Always

Steps to Reproduce:
1. Fresh fedora 40 installation
2. rpm -qf /usr/share/gettext
file /usr/share/gettext is not owned by any package
3. rpm -qf /usr/share/gettext/its/
file /usr/share/gettext/its is not owned by any package
Actual Results:  
file /usr/share/gettext is not owned by any package
file /usr/share/gettext/its is not owned by any package

Expected Results:  
shared-mime-info-2.3-4.fc40.x86_64

Comment 1 Christoph Karl 2024-05-12 17:04:03 UTC
I guess in "shared-mime.info.spec" around line 100 the following lines
are missing:
%dir %{_datadir}/gettext/
%dir %{_datadir}/gettext/its/

Comment 2 Miro Hrončok 2024-05-12 17:36:39 UTC
The files are owned by gettext. shared-mime-info does not depend on gettext, yet it installs to the directories:

$ rpm -ql shared-mime-info | grep share/gettext
/usr/share/gettext/its/shared-mime-info.its
/usr/share/gettext/its/shared-mime-info.loc


So perhaps they should indeed be co-owned.

Comment 4 Fedora Update System 2024-05-22 09:09:39 UTC
FEDORA-2024-3b8833fc94 (shared-mime-info-2.3-5.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-3b8833fc94

Comment 5 Fedora Update System 2024-05-22 09:19:38 UTC
FEDORA-2024-5b9a9b0f86 (shared-mime-info-2.3-5.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5b9a9b0f86

Comment 6 Fedora Update System 2024-05-22 11:39:32 UTC
FEDORA-2024-3b8833fc94 (shared-mime-info-2.3-5.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-05-23 03:10:09 UTC
FEDORA-2024-5b9a9b0f86 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5b9a9b0f86`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5b9a9b0f86

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Christoph Karl 2024-05-24 13:22:30 UTC
Works for me. Thank you.

Comment 9 Fedora Update System 2024-05-26 01:26:28 UTC
FEDORA-2024-5b9a9b0f86 (shared-mime-info-2.3-5.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.