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

diff --git a/python-distro.patch b/python-distro.patch
new file mode 100644 (file)
index 0000000..a052d76
--- /dev/null
@@ -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):
index 4cd4cd10d0d732336567dcf11730700c964498de..751b71f4995f07e5f79c42c496d4e7af7168188a 100644 (file)
@@ -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
This page took 0.041711 seconds and 4 git commands to generate.