[packages/libplist] install plist.pxd where libimobiledevice configure.ac expects it

glen glen at pld-linux.org
Wed Jan 20 09:59:37 CET 2016


commit 0d502360d0347bd96d7fae2ddb372c6973d28387
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 20 10:59:25 2016 +0200

    install plist.pxd where libimobiledevice configure.ac expects it

 libplist.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libplist.spec b/libplist.spec
index 04a075a..cc42761 100644
--- a/libplist.spec
+++ b/libplist.spec
@@ -92,7 +92,8 @@ rm -rf $RPM_BUILD_ROOT
 %py_postclean
 
 %if %{with cython}
-cp -p cython/plist.pxd $RPM_BUILD_ROOT%{py_sitedir}
+install -d $RPM_BUILD_ROOT%{_includedir}/plist/cython
+cp -p cython/plist.pxd $RPM_BUILD_ROOT%{_includedir}/plist/cython/plist.pxd
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/plist.la
 %endif
 
@@ -123,5 +124,4 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python-plist
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/plist.so
-%{py_sitedir}/plist.pxd
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libplist.git/commitdiff/0d502360d0347bd96d7fae2ddb372c6973d28387



More information about the pld-cvs-commit mailing list