
Good morning Dan, On 18.04.23 at 08:51 Dan Čermák wrote:
Johannes Kastl <kastl@b1-systems.de> writes:
Fabian and me had a chat about whether the following is actually still needed in a spec file for a go package:
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
I have quickly glanced over the rpm macros and none of the scripts included in %__spec_install_post (which in turn includes %__arch_install_post) reads the environment variable NO_BRP_STRIP_DEBUG.
However, it could be that it gets read by something else, so take this with a grain of salt…
Have you tried to just remove the %define and see what happens?
I have tried removing it for the linkerd-cli package and the package still built without errors. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537