- Recover again proper value of %python2_package_prefix
(bsc#1175619). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=320
This commit is contained in:
parent
f6d8c1bb6a
commit
2dad11ae4d
@ -3,6 +3,8 @@ Sat Feb 26 12:41:42 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
|||||||
|
|
||||||
- Update bundled pip wheel to the latest SLE version patched
|
- Update bundled pip wheel to the latest SLE version patched
|
||||||
against bsc#1186819 (CVE-2021-3572).
|
against bsc#1186819 (CVE-2021-3572).
|
||||||
|
- Recover again proper value of %python2_package_prefix
|
||||||
|
(bsc#1175619).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
@ -284,6 +284,13 @@ sed -i -e "s/^\(\s*_SETUPTOOLS_VERSION\s\+=\s\+\)\"[0-9.]\+\"/\1\"${STVER}\"/" \
|
|||||||
-e "s/^\(\s*_PIP_VERSION\s\+=\s\+\)\"[0-9.]\+\"/\1\"${PIPVER}\"/" \
|
-e "s/^\(\s*_PIP_VERSION\s\+=\s\+\)\"[0-9.]\+\"/\1\"${PIPVER}\"/" \
|
||||||
Lib/ensurepip/__init__.py
|
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
|
%build
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv"
|
export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv"
|
||||||
@ -377,12 +384,7 @@ find . -name '*.py' -type f | grep -vE "^./Parser/|^./Python/" \
|
|||||||
%make_install OPT="%{optflags} -fPIC"
|
%make_install OPT="%{optflags} -fPIC"
|
||||||
install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages/_local.pth
|
install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages/_local.pth
|
||||||
install -d -m 755 %{buildroot}%{_rpmconfigdir}/macros.d/
|
install -d -m 755 %{buildroot}%{_rpmconfigdir}/macros.d/
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/
|
install -m 644 macros.python2 %{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
|
|
||||||
|
|
||||||
# make sure /usr/lib/python/site-packages exists even on lib64 machines
|
# make sure /usr/lib/python/site-packages exists even on lib64 machines
|
||||||
mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages
|
mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages
|
||||||
|
@ -3,6 +3,8 @@ Sat Feb 26 12:41:42 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
|||||||
|
|
||||||
- Update bundled pip wheel to the latest SLE version patched
|
- Update bundled pip wheel to the latest SLE version patched
|
||||||
against bsc#1186819 (CVE-2021-3572).
|
against bsc#1186819 (CVE-2021-3572).
|
||||||
|
- Recover again proper value of %python2_package_prefix
|
||||||
|
(bsc#1175619).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
@ -3,6 +3,8 @@ Sat Feb 26 12:41:42 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
|||||||
|
|
||||||
- Update bundled pip wheel to the latest SLE version patched
|
- Update bundled pip wheel to the latest SLE version patched
|
||||||
against bsc#1186819 (CVE-2021-3572).
|
against bsc#1186819 (CVE-2021-3572).
|
||||||
|
- Recover again proper value of %python2_package_prefix
|
||||||
|
(bsc#1175619).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user