Just to be clear, my actual problem is that things like:
rpm --eval '%{python_version}'
rpm --eval '%{__python}'

Do not do either what they do on recent RPM-based distros:
error: attempt to use unversioned python, define %__python to
/usr/bin/python2 or /usr/bin/python3 explicitly
error: attempt to use unversioned python, define %__python to
/usr/bin/python2 or /usr/bin/python3 explicitly

Or on, say, older Debian:
2.7
/usr/bin/python

But instead just:
%{python_version}
%{__python}

I could be entirely off-base about why this is. I only spent so long on it.

But it certainly broke some expectations.

- Rich

Reply via email to