Okay, I found the reason. It is not related to the distro AFAIK.
osc chroot rpmspec -E '%{python3_sitearch}' /usr/lib64/python3.6/site-packages rpmspec -E '%{python2_sitearch}' sh: python2: command not found rpmspec -E '%{python_sitearch}' sh: python2: command not found
As you can see, the python version needs to be installed, if you want to query it's sitearch directory. Add a BuildRequires for python if you need python_sitearch. Sebastian On 02/10/2018 11.09, Ansgar Esztermann-Kirchner wrote:
On Mon, Oct 01, 2018 at 06:53:13PM +0200, Sebastian wrote:
For which distro does this happen? Tumbleweed. The host system hopefully does not play into this, but anyway it's Leap 15.0.
Link to specfile? https://build.opensuse.org/package/view_file/home:aeszter:branches:home:cows...
A.