MantisBT - CMake
View Issue Details
0009584CMakeCPackpublic2009-09-22 12:042009-11-22 13:33
Angelo Naselli 
Eric NOULARD 
normalfeatureN/A
closedfixed 
CMake-2-6 
CMake-2-8 
0009584: CPackRPM custom Provides fields is missed
Since use of custom spec files are not officially released yet, another missed feature is to add a varaible to get a custom Provides entry into generated spec file.
Something like
set (CPACK_RPM_PACKAGE_Provides foo)

to get
Provides: foo
No tags attached.
Issue History
2009-09-22 12:04Angelo NaselliNew Issue
2009-10-07 05:18Eric NOULARDNote Added: 0018007
2009-10-07 14:48Eric NOULARDNote Added: 0018014
2009-10-07 15:19Eric NOULARDNote Added: 0018017
2009-10-21 21:38Bill HoffmanStatusnew => assigned
2009-10-21 21:38Bill HoffmanAssigned To => Mathieu Malaterre
2009-10-22 10:24Eric NOULARDNote Added: 0018183
2009-11-11 15:16Eric NOULARDNote Added: 0018394
2009-11-11 15:28Eric NOULARDNote Added: 0018395
2009-11-22 13:33Eric NOULARDAssigned ToMathieu Malaterre => Eric NOULARD
2009-11-22 13:33Eric NOULARDNote Added: 0018538
2009-11-22 13:33Eric NOULARDStatusassigned => closed
2009-11-22 13:33Eric NOULARDResolutionopen => fixed
2009-11-22 13:33Eric NOULARDFixed in Version => CMake-2-8

Notes
(0018007)
Eric NOULARD   
2009-10-07 05:18   
This bugs should be linked with
http://public.kitware.com/Bug/view.php?id=8988 [^]

CMake-2-8 branch now contains a CPackRPM version which should
be able to handle user spec file.

However the 8988 bugs was about post/pre install scripts but the mean
to handle it may be the same:
   let the user provides its own spec file.

I would suggest to file another bug for CPackRPM which would only
concern the proper handling of user spec file.

We may then handle 8988 and 9584 on their own by either adding
their specific feature request in CPackRPM generated spec file
or tell that in those cases they should go using USER provided spec file.

I'll try to do that tonight
(0018014)
Eric NOULARD   
2009-10-07 14:48   
New related related bug:
http://public.kitware.com/Bug/view.php?id=9679 [^]
(0018017)
Eric NOULARD   
2009-10-07 15:19   
I may add support to CPACK_RPM_PACKAGE_PROVIDES
just as there is currently for CPACK_RPM_PACKAGE_REQUIRES.
I'll wait the status of other CPack RPM open bugs with pending patches
http://public.kitware.com/Bug/view.php?id=9679 [^]
http://public.kitware.com/Bug/view.php?id=9654 [^]
before building another patch.
(0018183)
Eric NOULARD   
2009-10-22 10:24   
Hi Mathieu,

I'm glad you've been assigned the handling of those CPackRPM bugs.
Do not hesitate to consult (and update)
the status of the CPackRPM pending bugs:
http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#CPack_RPM_currently_pending_bugs.2Ffeatures [^]

I won't be able to help on this area before 4th of november.
I'll be on leave with [may be] no network connection between
23/10 and 2/11.

Besides that I'll try to answer any question you may have if I'm able to.
(0018394)
Eric NOULARD   
2009-11-11 15:16   
I'm currently preparing the patch to CVS HEAD for that one
(0018395)
Eric NOULARD   
2009-11-11 15:28   
Just checked-in HEAD

Committer: Eric Noulard <eric.noulard@gmail.com>
/cvsroot/CMake/CMake/Modules/CPackRPM.cmake,v <-- Modules/CPackRPM.cmake
new revision: 1.17; previous revision: 1.16
(0018538)
Eric NOULARD   
2009-11-22 13:33   
May be included in 2.8.1