Hello community,

here is the log from the commit of package thunarx-python for openSUSE:Factory 
checked in at 2020-03-17 13:11:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/thunarx-python (Old)
 and      /work/SRC/openSUSE:Factory/.thunarx-python.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "thunarx-python"

Tue Mar 17 13:11:40 2020 rev:8 rq:785860 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/thunarx-python/thunarx-python.changes    
2020-02-25 16:05:32.064411299 +0100
+++ /work/SRC/openSUSE:Factory/.thunarx-python.new.3160/thunarx-python.changes  
2020-03-17 13:11:45.753873474 +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.oBhehR/_old  2020-03-17 13:11:47.721874985 +0100
+++ /var/tmp/diff_new_pack.oBhehR/_new  2020-03-17 13:11:47.721874985 +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

Reply via email to