The python-extra removes the files, but we might (if run
with make -j8) also extract the files in other build
stanzas. As such put it back in the python one to remove
the files.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
$(call RPM_INSTALL,$(RPM_DIR)/libxml2-python)
#rm -f userspace/usr/lib64/python2.6/site-packages/libxml2mod.la
#rm -f userspace/usr/lib64/python2.6/lib-dynload/pyexpat.so
+ rm -f userspace/usr/lib*/python2.6/lib-dynload/_ctypes.so
+ rm -f userspace/usr/lib*/python2.6/lib-dynload/_sqlite3.so
+ rm -f userspace/usr/lib*/python2.6/idlelib/*.bat
.PHONY: python-install
python-install: python-deps python-core