]> git.pld-linux.org Git - packages/python3.git/commitdiff
- rel 4; our Makefile is always in libdir auto/th/python3-3_2_3-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 31 May 2012 08:35:17 +0000 (08:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python3-makefile-location.patch -> 1.1
    python3.spec -> 1.75

python3-makefile-location.patch [new file with mode: 0644]
python3.spec

diff --git a/python3-makefile-location.patch b/python3-makefile-location.patch
new file mode 100644 (file)
index 0000000..d30ab31
--- /dev/null
@@ -0,0 +1,11 @@
+--- Python-3.2.3/Lib/distutils/sysconfig.py~   2012-05-31 10:30:41.000000000 +0200
++++ Python-3.2.3/Lib/distutils/sysconfig.py    2012-05-31 10:31:01.624339294 +0200
+@@ -253,7 +253,7 @@
+     """Return full pathname of installed Makefile from the Python build."""
+     if python_build:
+         return os.path.join(os.path.dirname(sys.executable), "Makefile")
+-    lib_dir = get_python_lib(plat_specific=0, standard_lib=1)
++    lib_dir = get_python_lib(plat_specific=1, standard_lib=1)
+     config_file = 'config-{}{}'.format(get_python_version(), build_flags)
+     return os.path.join(lib_dir, config_file, 'Makefile')
index 0eadc38c1afd60efede6c5b82462ecf67d7f506c..d742cc2f277e67881cb705894955ced45d31dd6e 100644 (file)
@@ -34,7 +34,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}.3
-Release:       3
+Release:       4
 Epoch:         1
 License:       PSF
 Group:         Applications
@@ -45,6 +45,7 @@ Patch1:               %{name}-ac_fixes.patch
 Patch2:                %{name}-lib64.patch
 Patch3:                %{name}-noarch_to_datadir.patch
 Patch4:                %{name}-no_cmdline_tests.patch
+Patch5:                %{name}-makefile-location.patch
 URL:           http://www.python.org/
 BuildRequires: autoconf >= 2.65
 BuildRequires: bluez-libs-devel
@@ -445,6 +446,7 @@ Przykłady te są dla Pythona 2.3.4, nie %{version}.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__autoconf}
This page took 0.203952 seconds and 4 git commands to generate.