The diff below defines %default_python_version so it can be
used in spec files.  Examples of the expected use:

%build
export PYTHON=/usr/bin/python%{default_python_version}

or

%build
python%{default_python_version} setup.py build

and

%install
...
mv $RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/site-packages/foo \
   $RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/vendor-packages/

Laca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpv.diff
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20091008/c8df21c8/attachment.bin>

Reply via email to