On Dez 12 2017, Olaf Hering
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. -- Andreas Schwab, schwab@linux-m68k.org 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org