MantisBT - CMake
View Issue Details
0010345CMakeCPackpublic2010-02-28 08:132010-10-03 17:36
Yggdrasil 
Eric NOULARD 
normaltrivialalways
closedfixed 
CMake-2-8 
CMake 2.8.3CMake 2.8.3 
0010345: [Patch] CPackRPM: file path with spaces
I had the problem with files and spaces in their names. I'm not an expert (actually my first try to package a RPM) but i read that one needs to quote at least the paths with spaces. Quoting all paths does not harm, so i did that in the attached patch and it worked for me on openSuse 11.2. The tiny patch is against current cvs.
No tags attached.
related to 0009932closed Eric NOULARD RPM Generator, spaces in CPACK_PACKAGE_NAME cause error while creating RPM archive 
related to 0010701closed Eric NOULARD Lack of "%doc, %config, Obsolete" in CPackRPM 
related to 0010871closed Eric NOULARD CPackRPM-generated spec file won't accept spaces in file paths. 
related to 0011595closed Eric NOULARD CPack can't generate RPMs (on FC11) 
patch rpm_pathspaces.patch (837) 2010-02-28 08:13
https://public.kitware.com/Bug/file/2913/rpm_pathspaces.patch
Issue History
2010-02-28 08:13YggdrasilNew Issue
2010-02-28 08:13YggdrasilFile Added: rpm_pathspaces.patch
2010-03-02 17:23Alex NeundorfStatusnew => assigned
2010-03-02 17:23Alex NeundorfAssigned To => Eric NOULARD
2010-04-10 08:56Eric NOULARDRelationship addedrelated to 0009932
2010-05-11 04:17Eric NOULARDRelationship addedrelated to 0010701
2010-07-04 04:59Eric NOULARDRelationship addedrelated to 0010871
2010-07-04 09:17Eric NOULARDNote Added: 0021228
2010-07-04 09:17Eric NOULARDStatusassigned => closed
2010-07-04 09:17Eric NOULARDResolutionopen => fixed
2010-07-05 14:07Eric NOULARDStatusclosed => feedback
2010-07-05 14:07Eric NOULARDResolutionfixed => reopened
2010-07-05 14:07Eric NOULARDNote Added: 0021240
2010-07-05 14:07Eric NOULARDStatusfeedback => resolved
2010-09-09 23:58David ColeFixed in Version => CMake 2.8.3
2010-09-09 23:58David ColeTarget Version => CMake 2.8.3
2010-10-03 17:36Eric NOULARDStatusresolved => closed
2010-10-03 17:36Eric NOULARDResolutionreopened => fixed
2010-12-11 05:19Eric NOULARDRelationship addedrelated to 0011595

Notes
(0021228)
Eric NOULARD   
2010-07-04 09:17   
The issue has been merged (and pushed) to next.

commit 53899460dfb1aef50ad3bb7acd1ec30d618cc5e7
Merge: 5858e6d 6926e91
Author: Eric NOULARD <eric.noulard@gmail.com>
Date: Sun Jul 4 15:10:18 2010 +0200

    Merge branch 'CPackRPM-handleFileWithSpace' into next

commit 6926e9114c832607bdad97827bb918cb21ab231d
Author: Eric NOULARD <eric.noulard@gmail.com>
Date: Sun Jul 4 14:05:25 2010 +0200

    CPackRPM:: Quote every filenames in %file section (see bugs 10701,10871,10345)
(0021240)
Eric NOULARD   
2010-07-05 14:07   
Prematurely closed