commit a38683193c8a633e06e99e7c372cbf2fbcfff60d
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Sat May 11 16:23:36 2013 +0200

    - rel 2; make platform.dist() to work

 python-distro.patch | 11 +++++++++++
 python.spec         |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/python.spec b/python.spec
index ae97a04..586ee14 100644
--- a/python.spec
+++ b/python.spec
@@ -43,7 +43,7 @@ Summary(tr.UTF-8):    X arayüzlü, yüksek düzeyli, kabuk 
yorumlayıcı dili
 Summary(uk.UTF-8):     Мова програмування дуже високого рівня з X-інтерфейсом
 Name:          python
 Version:       %{py_ver}.4
-Release:       1
+Release:       2
 Epoch:         1
 License:       PSF
 Group:         Development/Languages/Python
@@ -57,6 +57,7 @@ Patch2:               %{name}-ac_fixes.patch
 Patch3:                %{name}-lib64.patch
 Patch4:                %{name}-noarch_to_datadir.patch
 Patch5:                %{name}-verbose.patch
+Patch6:                %{name}-distro.patch
 URL:           http://www.python.org/
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake
@@ -555,6 +556,7 @@ Przykłady te są dla Pythona 2.3.4, nie %{version}.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 tar xjf %{SOURCE1}
 
diff --git a/python-distro.patch b/python-distro.patch
new file mode 100644
index 0000000..3644c9d
--- /dev/null
+++ b/python-distro.patch
@@ -0,0 +1,11 @@
+--- Python-2.7.4.org/Lib/platform.py   2013-04-06 16:02:28.000000000 +0200
++++ Python-2.7.4/Lib/platform.py       2013-05-11 16:08:46.726078936 +0200
+@@ -259,7 +259,7 @@
+ _supported_dists = (
+     'SuSE', 'debian', 'fedora', 'redhat', 'centos',
+     'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo',
+-    'UnitedLinux', 'turbolinux')
++    'pld', 'UnitedLinux', 'turbolinux')
+ 
+ def _parse_release_file(firstline):
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python.git/commitdiff/a38683193c8a633e06e99e7c372cbf2fbcfff60d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to