LoginSignup
0
1

More than 5 years have passed since last update.

rpmbuildでバイナリファイルが書き換えられてしまうのを防ぐ

Posted at

rpmbuildでバイナリファイルを埋め込むとstripされて元ファイルと異なる。
元ファイルのままで埋め込みたいときはspecファイルに以下の一行を
入れておけば良い。

%define __spec_install_post /usr/lib/rpm/brp-compress || :

rpm で strip しない. - ぴょぴょぴょ? - Linuxとかプログラミングの覚え書き -
http://d.hatena.ne.jp/pyopyopyo/20050205/p1

rpmbuild: disabling stripping in spec file?
http://www.redhat.com/archives/rpm-list/2005-March/msg00075.html

0
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1