Help avoid compression with RPMbuild
by Holering from LinuxQuestions.org on (#4X6Z1)
Opensuse 13.1 x86_64 (all updates).
When building RPMs through .spec file using rpmbuild, how do I avoid compression?
According to some stackoverflow users, I can use some macros like "w0.gzdio" : Code:329 # Compression type and level for source/binary package payloads.
330 # "w9.gzdio" gzip level 9 (default).
331 # "w9.bzdio" bzip2 level 9.
332 # "w7.xzdio" xz level 7, xz's default.
333 # "w7.lzdio" lzma-alone level 7, lzma's default
334 #
335 #%_source_payload w9.gzdio
336 #%_binary_payload w9.gzdioand the following should be added to the .spec file Code:#Disable jar unpacking
%define __jar_repack 0Doesn't a more definite easy way exist? I've read documents from Redhat but it seems compression is unavoidable. Looks like the only way is using macro for gzip compression with 0.
My goal is to archive resulting rpms with Rar compression.
Thanks for any help!
Regards,


When building RPMs through .spec file using rpmbuild, how do I avoid compression?
According to some stackoverflow users, I can use some macros like "w0.gzdio" : Code:329 # Compression type and level for source/binary package payloads.
330 # "w9.gzdio" gzip level 9 (default).
331 # "w9.bzdio" bzip2 level 9.
332 # "w7.xzdio" xz level 7, xz's default.
333 # "w7.lzdio" lzma-alone level 7, lzma's default
334 #
335 #%_source_payload w9.gzdio
336 #%_binary_payload w9.gzdioand the following should be added to the .spec file Code:#Disable jar unpacking
%define __jar_repack 0Doesn't a more definite easy way exist? I've read documents from Redhat but it seems compression is unavoidable. Looks like the only way is using macro for gzip compression with 0.
My goal is to archive resulting rpms with Rar compression.
Thanks for any help!
Regards,