Bug 445989

Summary: package contains empty desktop file
Product: [Fedora] Fedora Reporter: Christian Krause <chkr>
Component: kdebaseAssignee: Kevin Kofler <kevin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: jreznik, kevin, ltinkl, rdieter, rnovacek, ry, smparrish, than, thomasj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.0.4-1.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 11:00:09 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 Christian Krause 2008-05-11 08:50:53 UTC
Description of problem:
the latest update of kdebase4 contains a desktop file which is empty:
----------------------------------
rpm -qlv kdebase4 |grep konquerorsu
-rw-r--r--    1 root    root                0 Apr 22 21:44
/usr/share/applications/kde4/konquerorsu.desktop
----------------------------------


This results in errors when updating the desktop-database (which happens quite
often during updating):
----------------------------------
/usr/bin/update-desktop-database /usr/share/applications
Could not parse file '/usr/share/applications/kde4/konquerorsu.desktop': File is
empty
----------------------------------

Version-Release number of selected component (if applicable):
kdebase4-4.0.3-9.fc8

Comment 1 Kevin Kofler 2008-05-11 09:00:11 UTC
Confirmed. The offending file is still present in kdebase4-4.0.4-1.fc8 in 
updates-testing.

Comment 2 Kevin Kofler 2008-05-11 09:06:00 UTC
The problem is this specfile 

# konquerorsu only show in KDE
echo OnlyShowIn=KDE; 
>> %{buildroot}%{_kde4_datadir}/applications/kde4/konquerorsu.desktop

which should only be there for F9+, and which is also broken there because the 
semicolon is not quoted, so this appends absolutely nothing (the output of the 
empty command) to konquerorsu.desktop.

Comment 3 Kevin Kofler 2008-05-11 09:18:26 UTC
Fixed in 4.0.4-2.fc9 and 4.0.72-2.fc10.

Comment 4 Kevin Kofler 2008-05-11 09:19:10 UTC
Uh, actually that's the other one (the unquoted semicolon), this one is fixed 
in 4.0.4-2.fc7 and 4.0.4-2.fc8 of course. :-)

Comment 5 Fedora Update System 2008-05-14 22:16:16 UTC
kdebase4-4.0.4-2.fc8, kdepimlibs-4.0.4-1.fc8, kdelibs4-4.0.4-2.fc8, kdebase-runtime-4.0.4-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update kdebase4 kdepimlibs kdelibs4 kdebase-runtime'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-3475

Comment 6 Fedora Update System 2008-05-21 11:00:07 UTC
kdebase-runtime-4.0.4-1.fc8, kdelibs4-4.0.4-4.fc8, kdepimlibs-4.0.4-1.fc8, kdebase4-4.0.4-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.