Accepting request 928691 from home:msmeissn:branches:devel:languages:python:Factory
- on sle12, python2 modules will still be called python-xxxx until EOL, for newer SLE versions they will be python2-xxxx OBS-URL: https://build.opensuse.org/request/show/928691 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=308
This commit is contained in:
parent
a1e48140c5
commit
b580dedff6
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 2 08:09:03 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- on sle12, python2 modules will still be called python-xxxx until EOL,
|
||||||
|
for newer SLE versions they will be python2-xxxx
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 15 08:17:46 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
Fri Oct 15 08:17:46 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -367,6 +367,12 @@ find . -name '*.py' -type f | grep -vE "^./Parser/|^./Python/" \
|
|||||||
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 %{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
|
||||||
|
|
||||||
# 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
|
||||||
########################################
|
########################################
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python-doc
|
Name: python-doc
|
||||||
Version: 2.7.18
|
Version: 2.7.18
|
||||||
Release: 0
|
Release: 0
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python
|
Name: python
|
||||||
Version: 2.7.18
|
Version: 2.7.18
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user