On Fri, Dec 31, 2010 at 05:38:30PM +0200, Jonathan Dieter wrote:
I noticed an announcement that Python3 has made some changes in how
modules are built.
I now seem to be running into some problems building deltarpm for
Rawhide and it seems to be tied into this. See
Not sure if I need to change the Makefile to adjust for this, or just
the spec. Some advice would be greatly appreciated.
RPM build errors:
File not found by glob:
Child returncode was: 1
Which is happening because the module is being installed to
So, yes, the Makefiles need to be changed. The way they're detecting which
versions of python to build for are a bit hacky and definitely broken in
I would instead code something that uses the python interpreter or config
scripts to tell what needs to be done.
You can adapt code like this to your needs:
for PY in python python3 ; do
PYLIB=`$PY -c 'from distutils import sysconfig ;
PYVER=`$PY -c 'from distutils import sysconfig ;