- Actually add patch for python

This commit is contained in:
Peter Robinson 2009-10-29 10:48:35 +00:00
parent 646ec19367
commit ab5b662c40
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,13 @@
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
)

View File

@ -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@gmail.com> 0.16-3
- Actually add patch for python
* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2
- Add python patch and c++ bindings