Bug 520920

Summary: desktop-file.prov underquoted filename
Product: [Fedora] Fedora Reporter: Edward Sheldrake <ejsheldrake>
Component: rpmAssignee: Jindrich Novy <jnovy>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: ffesti, jnovy, pknirsch, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-03 05:59:40 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:
Attachments:
Description Flags
Add the missing "" none

Description Edward Sheldrake 2009-09-02 21:01:32 UTC
Created attachment 359594 [details]
Add the missing ""

Description of problem:
desktop-file.prov doesn't handle .desktop files with spaces in the filename. From the build log for rss-glx at

http://kojipkgs.fedoraproject.org/packages/rss-glx/0.9.0.p/3.fc11/data/logs/i586/build.log

Processing files: rss-glx-gnome-screensaver-0.9.0.p-3.fc11.i586
cat: /builddir/build/BUILDROOT/rss-glx-0.9.0.p-3.fc11.i386/usr/share/applications/screensavers/rss-glx-skyrocket: No such file or directory
cat: 0.desktop: No such file or directory

rss-glx-gnome-screensaver contains
/usr/share/applications/screensavers/rss-glx-skyrocket -v 0.desktop

Version-Release number of selected component (if applicable):
rpm-4.7.1-1.fc11

How reproducible:
Always, unless rss-glx.spec gets adjusted.

Steps to Reproduce:
1. Read the build log for rss-glx.
2.
3.
  
Actual results:
desktop-file.prov doesn't handle filenames containing spaces.

Expected results:
desktop-file.prov can handle filenames with spaces, even if .desktop files probably shouldn't have them.

Additional info:
Fortunately the .desktop files for screensavers don't have any mimetypes. I didn't test the patch.

Comment 1 Jindrich Novy 2009-09-03 05:59:40 UTC
Applied upstream, thanks.