0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

0
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?