]> git.pld-linux.org Git - packages/python.git/commitdiff
- rel 2; make platform.dist() to work auto/th/python-2.7.4-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 11 May 2013 14:23:36 +0000 (16:23 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 11 May 2013 14:23:36 +0000 (16:23 +0200)
python-distro.patch [new file with mode: 0644]
python.spec

diff --git a/python-distro.patch b/python-distro.patch
new file mode 100644 (file)
index 0000000..3644c9d
--- /dev/null
@@ -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):
index ae97a04e993403d49f3b555ff407dcd819fed9f4..586ee14b60a25c38e99d4512df69c51657887b75 100644 (file)
@@ -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}
 
This page took 0.033468 seconds and 4 git commands to generate.