[packages/python3] - fixed another case of bad version assumption and parsing, rel 3
baggins
baggins at pld-linux.org
Sun Mar 27 12:51:04 CEST 2022
commit 96303402601c56655d7ecba7d0c5ad4de817dbf4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Mar 27 12:50:07 2022 +0200
- fixed another case of bad version assumption and parsing, rel 3
python3-multilib.patch | 2 +-
python3.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index b98b107..e9aee71 100644
--- a/python3.spec
+++ b/python3.spec
@@ -48,7 +48,7 @@ Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python3
Version: %{py_ver}.4
-Release: 2
+Release: 3
Epoch: 1
License: PSF
Group: Development/Languages/Python
diff --git a/python3-multilib.patch b/python3-multilib.patch
index 4e83d8c..b5637ba 100644
--- a/python3-multilib.patch
+++ b/python3-multilib.patch
@@ -46,7 +46,7 @@ diff -urNp -x '*.orig' Python-3.9.2.org/Lib/site.py Python-3.9.2/Lib/site.py
"site-packages")
sitepackages.append(path)
+ sitepackages.append(os.path.join(prefix, sys.platlibdir, "site-python"))
-+ sitepackages.append(os.path.join(prefix, "share", "python" + sys.version[:3], "site-packages"))
++ sitepackages.append(os.path.join(prefix, "share", "python%d.%d" % sys.version_info[:2], "site-packages"))
else:
sitepackages.append(prefix)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/96303402601c56655d7ecba7d0c5ad4de817dbf4
More information about the pld-cvs-commit
mailing list