ALT Linux Bugzilla – #2197
Add macro for Python ABI version
Last modified: 2003-08-25 15:18:43
You need to
before you can comment on or make changes to this bug.
%__python_version gives the full version number of python, which is not always
practical. For dependencies, it\'s much more appropriate to use major version
number, which can be obtained from:
%__python -c \"from distutils import sysconfig; print
1. First statement is wrong.
2. Suggested command doesn\'t work for python21-2.1.3-alt3