Hello community,

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

Package is "python"

Fri Nov 10 14:37:24 2017 rev:124 rq:538777 version:2.7.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/python/python-base.changes       2017-09-28 
12:32:34.879211279 +0200
+++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes  2017-11-10 
14:37:32.279160119 +0100
@@ -1,0 +2,5 @@
+Thu Nov  2 16:53:42 UTC 2017 - [email protected]
+
+- Call python2 instead of python in macros
+
+-------------------------------------------------------------------
python.changes: same change

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

Other differences:
------------------
python-doc.spec: same change
python.spec: same change

++++++ macros.python2 ++++++
--- /var/tmp/diff_new_pack.Z8ZfDT/_old  2017-11-10 14:37:34.575077145 +0100
+++ /var/tmp/diff_new_pack.Z8ZfDT/_new  2017-11-10 14:37:34.575077145 +0100
@@ -9,10 +9,10 @@
 # these might be still in use somewhere
 %py_compile(O) \
 find %1 -name '*.pyc' -exec rm -f {} \\; \
-python -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
+python2 -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
 %{-O: \
 find %1 -name '*.pyo' -exec rm -f {} \\; \
-python -O -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
+python2 -O -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
 }
 %py_requires(d) \
 BuildRequires: /usr/bin/python %{-d:python-devel} \



Reply via email to