[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Disabling brp-strip for mock builds?



On 7/16/07, Kevin Kofler <kevin kofler chello at> wrote:
Josh Kelley <joshkel <at> gmail.com> writes:
> What do I need to do to properly disable brp-strip for mock builds?

Does something like this work?
%define __os_install_post %(echo '%{__os_install_post}' |
sed -e 's!/usr/lib/rpm/[^/]*/?brp-strip %{__strip}!!g')

Thank you for the suggestion.  I had trouble getting it to work,
although I think that that may have been user error on my part; I
ended up copying Dag Wieers' approach from his acroread.spec file:

%define __spec_install_post /usr/lib/rpm/brp-compress || :
%define debug_package %{nil}

That appears to work fine.

Josh Kelley


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]