Hello community, here is the log from the commit of package xen for openSUSE:Factory checked in at 2019-11-03 11:18:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xen (Old) and /work/SRC/openSUSE:Factory/.xen.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xen" Sun Nov 3 11:18:21 2019 rev:274 rq:743878 version:4.13.0_01 Changes: -------- --- /work/SRC/openSUSE:Factory/xen/xen.changes 2019-10-22 15:41:54.485474805 +0200 +++ /work/SRC/openSUSE:Factory/.xen.new.2990/xen.changes 2019-11-03 11:18:25.348420050 +0100 @@ -1,0 +2,6 @@ +Tue Oct 29 14:27:13 CET 2019 - Matej Cepl <mc...@suse.com> + +- Add python38-build.patch fixing build with Python 3.8 (add + --embed to python-config call) + +------------------------------------------------------------------- New: ---- python38-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xen.spec ++++++ --- /var/tmp/diff_new_pack.h5lLDM/_old 2019-11-03 11:18:27.512422814 +0100 +++ /var/tmp/diff_new_pack.h5lLDM/_new 2019-11-03 11:18:27.512422814 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # # needssslcertforbuild @@ -207,6 +207,9 @@ Patch623: ipxe-no-error-logical-not-parentheses.patch Patch624: ipxe-use-rpm-opt-flags.patch # Build patches +# PATCH-FIX-UPSTREAM python38-build.patch mc...@suse.com +# Make package buildable with python3.8 +Patch99995: python38-build.patch Patch99996: xen.stubdom.newlib.patch Patch99998: tmp_build.patch Patch99999: reproducible.patch @@ -401,6 +404,7 @@ %patch623 -p1 %patch624 -p1 # Build patches +%patch99995 -p1 %patch99996 -p1 %patch99998 -p1 %patch99999 -p1 ++++++ python38-build.patch ++++++ --- a/m4/python_devel.m4 +++ b/m4/python_devel.m4 @@ -24,7 +24,12 @@ AS_IF([test x"$pyconfig" = x"no"], [ dnl If python-config is found use it CPPFLAGS="$CFLAGS `$PYTHON-config --cflags`" LDFLAGS="$LDFLAGS `$PYTHON-config --ldflags`" - LIBS="$LIBS `$PYTHON-config --libs`" + if $PYTHON-config --libs --embed >/dev/null 2>&1 ; then + PYLIBS="$($PYTHON-config --libs --embed)" + else + PYLIBS="$($PYTHON-config --libs)" + fi + LIBS="$LIBS $PYLIBS" ]) AC_CHECK_HEADER([Python.h], [],