fedora-devel-list

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Disabling brp-strip for mock builds? Josh Kelley Fri Jul 20 12:01:59 2007

On 7/16/07, Kevin Kofler <[EMAIL PROTECTED]> 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

--
fedora-devel-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/fedora-devel-list