Hello community,

here is the log from the commit of package python for openSUSE:Factory checked 
in at 2020-06-11 14:37:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python (Old)
 and      /work/SRC/openSUSE:Factory/.python.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python"

Thu Jun 11 14:37:31 2020 rev:151 rq:810400 version:2.7.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/python/python-base.changes       2020-04-27 
23:31:02.158663346 +0200
+++ /work/SRC/openSUSE:Factory/.python.new.3606/python-base.changes     
2020-06-11 14:37:36.176072647 +0200
@@ -1,0 +2,7 @@
+Sat May 30 12:19:40 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Add patch configure_PYTHON_FOR_REGEN.patch which makes
+  configure.ac to consider the correct version of
+  PYTHON_FO_REGEN (bsc#1078326).
+
+-------------------------------------------------------------------
python-doc.changes: same change
python.changes: same change

New:
----
  configure_PYTHON_FOR_REGEN.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-base.spec ++++++
--- /var/tmp/diff_new_pack.S0n3Ht/_old  2020-06-11 14:37:37.864077556 +0200
+++ /var/tmp/diff_new_pack.S0n3Ht/_new  2020-06-11 14:37:37.868077567 +0200
@@ -94,6 +94,9 @@
 # PATCH-FIX-UPSTREAM CVE-2019-9674-zip-bomb.patch bsc#1162825 mc...@suse.com
 # Improve documentation warning against the possible zip bombs
 Patch59:        CVE-2019-9674-zip-bomb.patch
+# PATCH-FIX-UPSTREAM configure_PYTHON_FOR_REGEN.patch bsc#1078326 
mc...@suse.com
+# PYTHON_FOR_REGEN value is set very weird upstream
+Patch60:        configure_PYTHON_FOR_REGEN.patch
 # COMMON-PATCH-END
 %define         python_version    %(echo %{tarversion} | head -c 3)
 BuildRequires:  automake
@@ -219,6 +222,7 @@
 %patch56 -p1
 %patch58 -p1
 %patch59 -p1
+%patch60 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac

++++++ python-doc.spec ++++++
--- /var/tmp/diff_new_pack.S0n3Ht/_old  2020-06-11 14:37:37.888077626 +0200
+++ /var/tmp/diff_new_pack.S0n3Ht/_new  2020-06-11 14:37:37.888077626 +0200
@@ -96,6 +96,9 @@
 # PATCH-FIX-UPSTREAM CVE-2019-9674-zip-bomb.patch bsc#1162825 mc...@suse.com
 # Improve documentation warning against the possible zip bombs
 Patch59:        CVE-2019-9674-zip-bomb.patch
+# PATCH-FIX-UPSTREAM configure_PYTHON_FOR_REGEN.patch bsc#1078326 
mc...@suse.com
+# PYTHON_FOR_REGEN value is set very weird upstream
+Patch60:        configure_PYTHON_FOR_REGEN.patch
 # COMMON-PATCH-END
 Provides:       pyth_doc
 Provides:       pyth_ps
@@ -162,6 +165,7 @@
 %patch56 -p1
 %patch58 -p1
 %patch59 -p1
+%patch60 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac

++++++ python.spec ++++++
--- /var/tmp/diff_new_pack.S0n3Ht/_old  2020-06-11 14:37:37.912077696 +0200
+++ /var/tmp/diff_new_pack.S0n3Ht/_new  2020-06-11 14:37:37.916077707 +0200
@@ -96,6 +96,9 @@
 # PATCH-FIX-UPSTREAM CVE-2019-9674-zip-bomb.patch bsc#1162825 mc...@suse.com
 # Improve documentation warning against the possible zip bombs
 Patch59:        CVE-2019-9674-zip-bomb.patch
+# PATCH-FIX-UPSTREAM configure_PYTHON_FOR_REGEN.patch bsc#1078326 
mc...@suse.com
+# PYTHON_FOR_REGEN value is set very weird upstream
+Patch60:        configure_PYTHON_FOR_REGEN.patch
 # COMMON-PATCH-END
 BuildRequires:  automake
 BuildRequires:  db-devel
@@ -276,6 +279,7 @@
 %patch56 -p1
 %patch58 -p1
 %patch59 -p1
+%patch60 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac


++++++ configure_PYTHON_FOR_REGEN.patch ++++++
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@ AC_SUBST(host)
 # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
 rm -f pybuilddir.txt
 
-AC_CHECK_PROGS(PYTHON_FOR_REGEN, python$PACKAGE_VERSION python3 python, 
python3)
+AC_CHECK_PROGS(PYTHON_FOR_REGEN, python$PACKAGE_VERSION python python2, python)
 AC_SUBST(PYTHON_FOR_REGEN)
 
 if test "$cross_compiling" = yes; then


Reply via email to