Mailinglist Archive: opensuse-buildservice (82 mails)

< Previous Next >
[opensuse-buildservice] Re: Substitute is only partially applied
On Dez 12 2017, Olaf Hering <olaf@xxxxxxxxx> wrote:

Substitute: in prjconf is applied to BuildRequires, and the changes
appear in the pkg.spec file. But it is only partly applied to
Requires(pre|post). The "solver" uses the replaced strings, but they are
not applied to the pkg.spec. As a result the binary package can not be
installed because it still requires the string that was supposed to be
replaced by Substitute.

Is that done intentional, or is it a bug?

It's intentional, Substitute is only for building. Requires etc. are
not evaluated during build, only during install.


Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >