FastNetMon

Thursday, 21 November 2013

How to build rpm package for RHEL5 on RHEL6 system?

# emulate: "/usr/bin/rpmbuild-md5" from fedora-packager
rpmbuild --define "_source_filedigest_algorithm 1" --define "_binary_filedigest_algorithm 1" --define "_binary_payload w9.gzdio"  --define "_source_payload w9.gzdio" --define "_default_patch_fuzz 2"-bb e2fsprogs.spec


1 comment :

  1. можно достаточно легко, собрать из srpm используя mock, по факсту одной командой.

    ReplyDelete

Note: only a member of this blog may post a comment.