MantisBT - CMake
View Issue Details
0009679CMakeCMakepublic2009-10-07 14:472009-11-22 13:34
Eric NOULARD 
Eric NOULARD 
normalfeaturealways
closedfixed 
CMake-2-8 
CMake-2-8 
0009679: CPack RPM should handle USER specified spec file properly.
Current version of CPackRPM in CMake-2-8 should be handling
a USER specified spec file by setting
CPACK_RPM_USER_BINARY_SPECFILE.

However the current CPackRPM content
seems to be a partial merge from bug
http://public.kitware.com/Bug/view.php?id=8988 [^]
which is missing some documentation and the
CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE
feature.

The current bug should ONLY take care of
proper handling of USER specified spec file
whereas related bugs concentrate on other feature request
that "may" be solved with USER specified SPEC file.
Related bugs:
http://public.kitware.com/Bug/view.php?id=9584 [^]
http://public.kitware.com/Bug/view.php?id=8988 [^]
No tags attached.
patch bug-9679-erk1.patch (7,262) 2009-10-07 15:07
https://public.kitware.com/Bug/file/2539/bug-9679-erk1.patch
patch bug-9679-erk2.patch (8,350) 2009-10-07 15:14
https://public.kitware.com/Bug/file/2540/bug-9679-erk2.patch
Issue History
2009-10-07 14:47Eric NOULARDNew Issue
2009-10-07 15:07Eric NOULARDFile Added: bug-9679-erk1.patch
2009-10-07 15:14Eric NOULARDFile Added: bug-9679-erk2.patch
2009-10-07 15:17Eric NOULARDNote Added: 0018016
2009-10-21 21:39Bill HoffmanStatusnew => assigned
2009-10-21 21:39Bill HoffmanAssigned To => Mathieu Malaterre
2009-11-09 16:05Eric NOULARDNote Added: 0018379
2009-11-09 16:19Eric NOULARDNote Added: 0018380
2009-11-22 13:34Eric NOULARDAssigned ToMathieu Malaterre => Eric NOULARD
2009-11-22 13:34Eric NOULARDNote Added: 0018539
2009-11-22 13:34Eric NOULARDStatusassigned => closed
2009-11-22 13:34Eric NOULARDResolutionopen => fixed
2009-11-22 13:34Eric NOULARDFixed in Version => CMake-2-8

Notes
(0018016)
Eric NOULARD   
2009-10-07 15:17   
Last patch (bug-9679-erk2.patch) implements a proper handling
of CPACK_RPM_USER_BINARY_SPECFILE.

The first patch was missing the doc, the second should be OK.
This patch is made against CMake-2-8 branch.

I may rebuild the patch if
http://public.kitware.com/Bug/view.php?id=9654 [^]
is applied in the meantime.
(they do share some common portion of code)
(0018379)
Eric NOULARD   
2009-11-09 16:05   
I'm preparing updated patch for CVS HEAD.
(0018380)
Eric NOULARD   
2009-11-09 16:19   
Commited to HEAD:
date: 2009-11-09 22:17:22 +0100; author: eric.noulard; state: Exp; lines: +79 -45; commitid: 9qA1XKjQtAdz9Tau;
CPackRPM:: Support USER supplied spec files (bug 9679)
(0018539)
Eric NOULARD   
2009-11-22 13:34   
May be included in 2.8.1