Hello community,
here is the log from the commit of package thunarx-python for
openSUSE:Leap:15.2 checked in at 2020-03-20 05:15:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/thunarx-python (Old)
and /work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "thunarx-python"
Fri Mar 20 05:15:07 2020 rev:20 rq:786373 version:0.5.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/thunarx-python/thunarx-python.changes
2020-02-29 17:18:53.489345100 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.3160/thunarx-python.changes
2020-03-20 05:15:13.594560947 +0100
@@ -1,0 +2,6 @@
+Tue Mar 17 08:14:09 UTC 2020 - Stefan Seyfried <[email protected]>
+
+- add thunarx-python-py3.8.diff to add missing "--embed" flag to
+ python3-config
+
+-------------------------------------------------------------------
New:
----
thunarx-python-py3.8.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ thunarx-python.spec ++++++
--- /var/tmp/diff_new_pack.FXw6vY/_old 2020-03-20 05:15:14.122561302 +0100
+++ /var/tmp/diff_new_pack.FXw6vY/_new 2020-03-20 05:15:14.126561305 +0100
@@ -24,6 +24,7 @@
URL: https://goodies.xfce.org/projects/bindings/thunarx-python
Source:
http://archive.xfce.org/src/bindings/%{name}/0.5/%{name}-%{version}.tar.bz2
Patch0: reproducible.patch
+Patch1: thunarx-python-py3.8.diff
BuildRequires: fdupes
BuildRequires: gtk-doc
BuildRequires: pkgconfig
++++++ thunarx-python-py3.8.diff ++++++
diff --git a/aclocal.m4 b/aclocal.m4
index 402f5c8..3f9dd64 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -11008,7 +11008,9 @@ py_lib_name=`basename $py_include_path`
if test "x$PYTHON_LIBS" = x; then
PYTHON_CONFIG=`which $PYTHON`-config
if test -x "$PYTHON_CONFIG"; then
- PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
+ # python 3.8 needs this, but 3.6 does not support it
+ $PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed
+ PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null`
else
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
fi
diff --git a/configure b/configure
index 9fabaa0..690ca33 100755
--- a/configure
+++ b/configure
@@ -13557,7 +13557,9 @@ py_lib_name=`basename $py_include_path`
if test "x$PYTHON_LIBS" = x; then
PYTHON_CONFIG=`which $PYTHON`-config
if test -x "$PYTHON_CONFIG"; then
- PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
+ # python 3.8 needs this, but 3.6 does not support it
+ $PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed
+ PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null`
else
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
fi