View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010363 | CMake | CPack | public | 2010-03-03 17:21 | 2010-04-10 05:27 | ||||
Reporter | Alex Neundorf | ||||||||
Assigned To | Eric NOULARD | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | CMake-2-8 | |||||||
Summary | 0010363: CPack: specify compression type for rpm package | ||||||||
Description | E.g. SUSE 11 by default generates lzma-compressed rpm's, which can't be installed e.g. on SUSE 10, since this doesn't know lzma. To specify the compression type of an rpm, at least under SUSE, the following has to be put in the spec file: For bzip2: %define _binary_payload w9.bzdio for gzip: %define _binary_payload w9.gzdio for lzma: %define _binary_payload w9.lzdio I've set this using the CPACK_RPM_SPEC_MORE_DEFINE variable. Maybe this could be supported via something like a CPACK_RPM_COMPRESSION_TYPE variable ? Alex | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0020070) Eric NOULARD (developer) 2010-04-04 15:31 |
OpenSUSE is going for lzma http://opsamericas.com/?p=894 [^] and Fedora for xz http://fedoraproject.org/wiki/Features/XZRpmPayloads#XZ_.28LZMA.29_Payloads_in_RPM [^] this looks like the same LZMA algo but leads to for lzma: %define _binary_payload w9.lzdio and for xz: %define _binary_payload w7.xzdio noted here as a memo. |
(0020071) Eric NOULARD (developer) 2010-04-04 15:42 |
Commited to my local tree. Waiting for git push access to push to git@cmake.org:cmake.git |
(0020119) Eric NOULARD (developer) 2010-04-10 05:26 |
Now pushed to master tree To git@cmake.org:cmake.git c558141..fcdbe00 master -> master CPACK_RPM_COMPRESSION_TYPE Mandatory : NO Default : - May be used to override RPM compression type to be used to build the RPM. For example some Linux distribution now default to lzma or xz compression whereas older cannot use such RPM. Using this one can enforce compression type to be used. Possible value are: lzma, xz, bzip2 and gzip. |
(0020120) Eric NOULARD (developer) 2010-04-10 05:27 |
A new option to CPackRPM handle this: CPACK_RPM_COMPRESSION_TYPE Mandatory : NO Default : - May be used to override RPM compression type to be used to build the RPM. For example some Linux distribution now default to lzma or xz compression whereas older cannot use such RPM. Using this one can enforce compression type to be used. Possible value are: lzma, xz, bzip2 and gzip. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-03-03 17:21 | Alex Neundorf | New Issue | |
2010-03-03 17:21 | Alex Neundorf | Status | new => assigned |
2010-03-03 17:21 | Alex Neundorf | Assigned To | => Eric NOULARD |
2010-04-04 15:31 | Eric NOULARD | Note Added: 0020070 | |
2010-04-04 15:42 | Eric NOULARD | Note Added: 0020071 | |
2010-04-10 05:26 | Eric NOULARD | Note Added: 0020119 | |
2010-04-10 05:27 | Eric NOULARD | Note Added: 0020120 | |
2010-04-10 05:27 | Eric NOULARD | Status | assigned => closed |
2010-04-10 05:27 | Eric NOULARD | Resolution | open => fixed |
2010-04-10 05:27 | Eric NOULARD | Fixed in Version | => CMake-2-8 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |