View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007904CMakeCPackpublic2008-10-31 06:232008-12-03 14:37
ReporterDavid Graf 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007904: adding RPM package dependencies manually
DescriptionI 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).
TagsNo tags attached.
Attached Filespatch file icon CPackRPM-7904.patch [^] (1,166 bytes) 2008-10-31 06:42 [Show Content]
patch file icon CPackRPM-7904-v2.patch [^] (3,309 bytes) 2008-11-03 10:26 [Show Content]

 Relationships

  Notes
(0013994)
Eric NOULARD (developer)
2008-10-31 06:41

Here comes a patch against CMake-2-6 tree, which add the requested feature
(0013996)
Eric NOULARD (developer)
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 (developer)
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 (developer)
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 (manager)
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

 Issue History
Date Modified Username Field Change
2008-10-31 06:23 David Graf New Issue
2008-10-31 06:41 Eric NOULARD Note Added: 0013994
2008-10-31 06:42 Eric NOULARD File Added: CPackRPM-7904.patch
2008-10-31 06:43 Eric NOULARD Note Added: 0013996
2008-11-02 15:15 Eric NOULARD Note Added: 0014008
2008-11-03 10:26 Eric NOULARD File Added: CPackRPM-7904-v2.patch
2008-11-03 10:29 Eric NOULARD Note Added: 0014017
2008-12-03 14:37 Bill Hoffman Note Added: 0014278
2008-12-03 14:37 Bill Hoffman Status new => closed
2008-12-03 14:37 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team