packages: python3/python3.spec, python3/python3-makefile-location.patch (NE...

arekm arekm at pld-linux.org
Thu May 31 10:35:22 CEST 2012


Author: arekm                        Date: Thu May 31 08:35:22 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4; our Makefile is always in libdir

---- Files affected:
packages/python3:
   python3.spec (1.74 -> 1.75) , python3-makefile-location.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python3/python3.spec
diff -u packages/python3/python3.spec:1.74 packages/python3/python3.spec:1.75
--- packages/python3/python3.spec:1.74	Fri May 11 11:56:13 2012
+++ packages/python3/python3.spec	Thu May 31 10:35:17 2012
@@ -35,7 +35,7 @@
 Summary(uk.UTF-8):	Мова програмування дуже високого рівня з X-інтерфейсом
 Name:		python3
 Version:	%{py_ver}.3
-Release:	3
+Release:	4
 Epoch:		1
 License:	PSF
 Group:		Applications
@@ -46,6 +46,7 @@
 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
@@ -446,6 +447,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__autoconf}
@@ -1180,6 +1182,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.75  2012/05/31 08:35:17  arekm
+- rel 4; our Makefile is always in libdir
+
 Revision 1.74  2012/05/11 09:56:13  arekm
 - release 3
 

================================================================
Index: packages/python3/python3-makefile-location.patch
diff -u /dev/null packages/python3/python3-makefile-location.patch:1.1
--- /dev/null	Thu May 31 10:35:22 2012
+++ packages/python3/python3-makefile-location.patch	Thu May 31 10:35:17 2012
@@ -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')
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/python3/python3.spec?r1=1.74&r2=1.75



More information about the pld-cvs-commit mailing list