- Actually add patch for python
This commit is contained in:
parent
646ec19367
commit
ab5b662c40
13
libplist-0.16-fix-python-lib-path.patch
Normal file
13
libplist-0.16-fix-python-lib-path.patch
Normal 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
|
||||
)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user