Disabling brp-strip for mock builds?

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

 



(I hope that this is an appropriate place to ask mock questions that
aren't Fedora-specific.  If not, please direct me to the right place.)

I have an RPM for a program that performs an integrity check on itself
when it's run, so stripping it would cause it to fail that check.  I
fixed this by adding a couple of lines to the %install section of the
spec file:

%undefine __os_install_post
/usr/lib/rpm/brp-compress

This works fine for normal builds; however, when I build the RPM using
mock, brp-strip and its cousins are called anyway.

What do I need to do to properly disable brp-strip for mock builds?

Thanks.

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