Re: Disabling brp-strip for mock builds?

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

 



On 7/16/07, Kevin Kofler <kevin.kofler@xxxxxxxxx> 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
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux