MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0010935 | CMake | CPack | public | 2010-07-04 11:07 | 2010-12-14 18:50 | ||||||||||
Reporter | Eric NOULARD | ||||||||||||||
Assigned To | Eric NOULARD | ||||||||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | OS | OS Version | |||||||||||||
Product Version | CMake-2-8 | ||||||||||||||
Target Version | Fixed in Version | CMake-2-8 | |||||||||||||
Summary | 0010935: Lack of support for relocatable package | ||||||||||||||
Description | I would like to add an other missing feature: * Lack of support for relocatable package To make a relocatable package, you have to add a tag "Prefix: " whose the value is generally the CMake prefix. If I mimic the Buildarch tag, it would be something like that # CPACK_RPM_PACKAGE_PREFIX (optional) IF(CPACK_RPM_PACKAGE_PREFIX) SET(TMP_RPM_PREFIX "Prefix: ${CPACK_RPM_PACKAGE_PREFIX}") IF(CPACK_RPM_PACKAGE_DEBUG) MESSAGE("CPackRPM:Debug: using user-specified prefix (for relocatable package) = ${CPACK_RPM_PACKAGE_PREFIX}") ENDIF(CPACK_RPM_PACKAGE_DEBUG) ELSE(CPACK_RPM_PACKAGE_PREFIX) SET(TMP_RPM_BUILDARCH "") ENDIF(CPACK_RPM_PACKAGE_PREFIX) and adding \@TMP_RPM_PREFIX\@ after \@TMP_RPM_BUILDARCH\@ in the specfile template. It's not tested but it's very similar to Buildarch tag. For more specific information, see Maximum RPM (http://www.rpm.org/max-rpm/ch-rpm-reloc.html [^] [^] ). Please, tell me if I must create a new issue but it's very similar to this one. Thanks. | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2010-07-04 11:07 | Eric NOULARD | New Issue | |||||||||||||
2010-07-04 11:08 | Eric NOULARD | Relationship added | related to 0010701 | ||||||||||||
2010-07-04 11:09 | Eric NOULARD | Status | new => assigned | ||||||||||||
2010-07-04 11:09 | Eric NOULARD | Assigned To | => Eric NOULARD | ||||||||||||
2010-07-04 11:29 | Eric NOULARD | Note Added: 0021232 | |||||||||||||
2010-07-04 11:30 | Eric NOULARD | Relationship added | parent of 0007000 | ||||||||||||
2010-07-09 14:06 | Eric NOULARD | Note Added: 0021338 | |||||||||||||
2010-07-09 14:07 | Eric NOULARD | Note Added: 0021339 | |||||||||||||
2010-07-09 14:07 | Eric NOULARD | Status | assigned => resolved | ||||||||||||
2010-07-09 14:07 | Eric NOULARD | Fixed in Version | => CMake-2-8 | ||||||||||||
2010-07-09 14:07 | Eric NOULARD | Resolution | open => fixed | ||||||||||||
2010-12-14 18:50 | David Cole | Note Added: 0024103 | |||||||||||||
2010-12-14 18:50 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|