[opensuse-buildservice] result of Substitute is ignored

At which point during building is a Substitute supposed to be used? I have a 'Substitute: pkgconfig(pkg) pkg-devel=' in prjconf. The trailing '=' is supposed to carry the version during substitution. The buildlog shows that BuildRequires is properly updated, but the result is apparently not used when preparing the build. In my case I expect state 'unresolvable' because the expected version is not available in the target repository. As a result the pkg starts to build, then rpmbuild fails: ... [ 39s] [112/251] installing python-devel-2.6.9-6.SLE_11.1 ... [ 83s] < BuildRequires: pkgconfig(python2) >= 2.7 [ 83s] > BuildRequires: python-devel >= 2.7 ... [ 83s] error: Failed build dependencies: [ 83s] python-devel >= 2.7 is needed by ${pkg} ... I think such "Substitute" used to bring a pkg in state 'unresolvalbe' in the past. Olaf
participants (1)
-
Olaf Hering