Article 4X6Z1 Help avoid compression with RPMbuild

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,latest?d=yIl2AUoC8zA latest?i=gWfmvlN9ZDk:xg8QznvOk9U:F7zBnMy latest?i=gWfmvlN9ZDk:xg8QznvOk9U:V_sGLiP latest?d=qj6IDK7rITs latest?i=gWfmvlN9ZDk:xg8QznvOk9U:gIN9vFwgWfmvlN9ZDk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments