Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python for openSUSE:Factory checked 
in at 2022-03-04 00:16:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python (Old)
 and      /work/SRC/openSUSE:Factory/.python.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python"

Fri Mar  4 00:16:53 2022 rev:168 rq:958406 version:2.7.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/python/python-base.changes       2022-02-27 
22:42:59.774628756 +0100
+++ /work/SRC/openSUSE:Factory/.python.new.1958/python-base.changes     
2022-03-04 00:17:09.724279162 +0100
@@ -5,0 +6,2 @@
+- Recover again proper value of %python2_package_prefix
+  (bsc#1175619).
python-doc.changes: same change
python.changes: same change

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

Other differences:
------------------
++++++ python-base.spec ++++++
--- /var/tmp/diff_new_pack.44rVgj/_old  2022-03-04 00:17:11.524279541 +0100
+++ /var/tmp/diff_new_pack.44rVgj/_new  2022-03-04 00:17:11.528279542 +0100
@@ -284,6 +284,13 @@
        -e "s/^\(\s*_PIP_VERSION\s\+=\s\+\)\"[0-9.]\+\"/\1\"${PIPVER}\"/" \
     Lib/ensurepip/__init__.py
 
+cp -p %{SOURCE1} macros.python2
+%if %{suse_version} < 1500
+# on SLE12 and SLE11 the python2 modules will still be called python-xxxx
+# as this SPEC file is used on SLE12, keep it in here for the time being
+sed -i -e 's/python2_package_prefix python2/python2_package_prefix python/' 
macros.python2
+%endif
+
 %build
 %define _lto_cflags %{nil}
 export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv"
@@ -377,12 +384,7 @@
 %make_install OPT="%{optflags} -fPIC"
 install -m 644 %{SOURCE5} 
%{buildroot}%{_libdir}/python%{python_version}/site-packages/_local.pth
 install -d -m 755 %{buildroot}%{_rpmconfigdir}/macros.d/
-install -m 644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/
-%if %{suse_version} < 1500
-# on SLE12 and SLE11 the python2 modules will still be called python-xxxx
-# as this SPEC file is used on SLE12, keep it in here for the time being
-sed -i -e 's/python2_package_prefix python2/python2_package_prefix python/;' 
%{buildroot}%{_rpmconfigdir}/macros.d/macros.python2
-%endif
+install -m 644 macros.python2 %{buildroot}%{_rpmconfigdir}/macros.d/
 
 # make sure /usr/lib/python/site-packages exists even on lib64 machines
 mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages

python.spec: same change

Reply via email to