[packages/python3] - rel 2; make platform.dist() to work
arekm
arekm at pld-linux.org
Sat May 11 16:26:21 CEST 2013
commit 917cee95182ff536b4adc951bbe3b5ef32a33d6b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat May 11 16:26:18 2013 +0200
- rel 2; make platform.dist() to work
python-distro.patch | 11 +++++++++++
python3.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/python3.spec b/python3.spec
index 4cd4cd1..751b71f 100644
--- a/python3.spec
+++ b/python3.spec
@@ -38,7 +38,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}.1
-Release: 1
+Release: 2
Epoch: 1
License: PSF
Group: Applications
@@ -52,6 +52,7 @@ Patch4: %{name}-no_cmdline_tests.patch
Patch5: %{name}-makefile-location.patch
Patch6: libc-cloexec.patch
Patch7: %{name}-sysloghandler.patch
+Patch8: python-distro.patch
URL: http://www.python.org/
BuildRequires: autoconf >= 2.65
BuildRequires: bluez-libs-devel
@@ -455,6 +456,7 @@ Przykłady te są dla Pythona 2.3.4, nie %{version}.
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%{__rm} -r Modules/zlib
%{__rm} -r Modules/expat
diff --git a/python-distro.patch b/python-distro.patch
new file mode 100644
index 0000000..a052d76
--- /dev/null
+++ b/python-distro.patch
@@ -0,0 +1,11 @@
+--- Python-3.3.1/Lib/platform.py~ 2013-04-06 09:41:39.000000000 +0200
++++ Python-3.3.1/Lib/platform.py 2013-05-11 16:25:29.566791008 +0200
+@@ -261,7 +261,7 @@
+ _supported_dists = (
+ 'SuSE', 'debian', 'fedora', 'redhat', 'centos',
+ 'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo',
+- 'UnitedLinux', 'turbolinux', 'arch', 'mageia')
++ 'pld', 'UnitedLinux', 'turbolinux', 'arch', 'mageia')
+
+ def _parse_release_file(firstline):
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/917cee95182ff536b4adc951bbe3b5ef32a33d6b
More information about the pld-cvs-commit
mailing list