MantisBT - CMake
View Issue Details
0007904CMakeCPackpublic2008-10-31 06:232008-12-03 14:37
David Graf 
 
normalfeatureN/A
closedfixed 
CMake-2-6 
 
0007904: adding RPM package dependencies manually
I would like to add a dependency to an RPM package that is generated by CPack 2.6 manually (similar to the DEB solution that is setting the variable CPACK_DEBIAN_PACKAGE_DEPENDS).
No tags attached.
patch CPackRPM-7904.patch (1,166) 2008-10-31 06:42
https://public.kitware.com/Bug/file/1817/CPackRPM-7904.patch
patch CPackRPM-7904-v2.patch (3,309) 2008-11-03 10:26
https://public.kitware.com/Bug/file/1823/CPackRPM-7904-v2.patch
Issue History
2008-10-31 06:23David GrafNew Issue
2008-10-31 06:41Eric NOULARDNote Added: 0013994
2008-10-31 06:42Eric NOULARDFile Added: CPackRPM-7904.patch
2008-10-31 06:43Eric NOULARDNote Added: 0013996
2008-11-02 15:15Eric NOULARDNote Added: 0014008
2008-11-03 10:26Eric NOULARDFile Added: CPackRPM-7904-v2.patch
2008-11-03 10:29Eric NOULARDNote Added: 0014017
2008-12-03 14:37Bill HoffmanNote Added: 0014278
2008-12-03 14:37Bill HoffmanStatusnew => closed
2008-12-03 14:37Bill HoffmanResolutionopen => fixed

Notes
(0013994)
Eric NOULARD   
2008-10-31 06:41   
Here comes a patch against CMake-2-6 tree, which add the requested feature
(0013996)
Eric NOULARD   
2008-10-31 06:43   
The patch correspond to the replacement file sent on the ML
http://www.cmake.org/pipermail/cmake/2008-October/024940.html [^]
(0014008)
Eric NOULARD   
2008-11-02 15:15   
The patch is buggy, it does not work if
CPACK_RPM_PACKAGE_REQUIRES
is not set at all...

I'm working on a working patch.
Please wait before merging in.
(0014017)
Eric NOULARD   
2008-11-03 10:29   
The freshly updated patch is now OK.
You may either specify manual dependencies or not
using CPACK_RPM_PACKAGE_REQUIRES
the syntax for dependencies may be found here:
http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html [^]

The patch contains small CPackRPM typos
for DEBUG messages fixes.

This patch is harmless (100% backward compatible)
and useful you may merge it as soon as you want.
(0014278)
Bill Hoffman   
2008-12-03 14:37   
$ cvs commit -m "BUG: 0007904 add rpm package depend " CPackRPM.cmake
Committer: Bill Hoffman <bill.hoffman@kitware.com>
/cvsroot/CMake/CMake/Modules/CPackRPM.cmake,v <-- CPackRPM.cmake
new revision: 1.10; previous revision: 1.9