]> git.pld-linux.org Git - packages/python.git/commit - python.spec
Prevent pyconfig.h conflicts on multiarch systems
authorJacek Konieczny <jajcus@jajcus.net>
Tue, 1 Dec 2015 17:40:37 +0000 (18:40 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Tue, 1 Dec 2015 17:40:37 +0000 (18:40 +0100)
commit538a779a0e99cb53d7deb373f6b5ccbb991ecba7
tree8ae975dda204a7c011f3e57e8048e8cae98b2095
parent7111e30ba387ac8ac100d083db8f6cd5d7a76e65
Prevent pyconfig.h conflicts on multiarch systems

pyconfig.h is included in python-libs, as it is used on runtime.
The problem is pyconfig.h contains some platform-specific code and
it differs between platforms.

python-libs-*.x86_64  would conflict with python-libs-*.i686 and if they
are forced to coexist, wrong pyconfig.h may be used. This causes e.g.
rpm build to fail in a non obvious way.

The hack is to have architecture-specific pyconfig-*.h files and a ghost
symlink updated with python-devel install. I hope this works.
python.spec
This page took 0.0920840000000001 seconds and 4 git commands to generate.