rpms/libplist/devel libplist-0.16-fix-python-lib-path.patch, NONE, 1.1 libplist.spec, 1.6, 1.7

Peter Robinson pbrobinson at fedoraproject.org
Thu Oct 29 10:48:36 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/libplist/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10166

Modified Files:
	libplist.spec 
Added Files:
	libplist-0.16-fix-python-lib-path.patch 
Log Message:
- Actually add patch for python

libplist-0.16-fix-python-lib-path.patch:
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE libplist-0.16-fix-python-lib-path.patch ---
Index: libplist-0.16/swig/CMakeLists.txt
===================================================================
--- libplist-0.16/swig/CMakeLists.txt
+++ libplist-0.16/swig/CMakeLists.txt	2009-10-29 09:53:16.000000000 +0100
@@ -9,7 +9,7 @@
 SWIG_LINK_LIBRARIES( PList plist plist++ ${PYTHON_LIBRARIES} )
 
 EXEC_PROGRAM("${PYTHON_EXECUTABLE}"
-    ARGS "-c 'try:\n import distutils.sysconfig; print distutils.sysconfig.get_python_lib()\nexcept: pass\n'"
+    ARGS "-c 'try:\n import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1)\nexcept: pass\n'"
     OUTPUT_VARIABLE DISTUTILS_PYTHON_ILIBRARY_PATH
     )
 


Index: libplist.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libplist/devel/libplist.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- libplist.spec	29 Oct 2009 10:17:02 -0000	1.6
+++ libplist.spec	29 Oct 2009 10:48:35 -0000	1.7
@@ -2,7 +2,7 @@
 
 Name:           libplist
 Version:        0.16
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Library for manipulating Apple Binary and XML Property Lists
 
 Group:          System Environment/Libraries
@@ -85,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/libplist
 
 %changelog
+* Thu Oct 29 2009 Peter Robinson <pbrobinson at gmail.com> 0.16-3
+- Actually add patch for python
+
 * Thu Oct 29 2009 Peter Robinson <pbrobinson at gmail.com> 0.16-2
 - Add python patch and c++ bindings
 




More information about the fedora-extras-commits mailing list