[packages/dropbox] fix ImportError: No module named mac.version
glen
glen at pld-linux.org
Tue Jul 5 18:36:42 CEST 2016
commit 8669a5fc3dae2b70f22d1bb7766820fbc81dfd3d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jul 5 19:36:15 2016 +0300
fix ImportError: No module named mac.version
dropbox.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/dropbox.spec b/dropbox.spec
index 9a75bbc..2d6a6d1 100644
--- a/dropbox.spec
+++ b/dropbox.spec
@@ -87,8 +87,9 @@ mv dropbox-lnx.*-%{version}/* .
# fun, let's delete non-linux files from archive
unzip -l library.zip | \
- grep -E '(arch|dropbox)/(mac|win32)|_(win32|mac).py|pymac|ui/cocoa|unittest' | \
- grep -vE 'pymac/(__init__|constants|types|lazydll|lazyframework).py' | \
+ grep -E '(arch|dropbox)/(mac|win32)|_(win32|mac)\.py|pymac|ui/cocoa|unittest' | \
+ grep -vE 'pymac/(__init__|constants|types|lazydll|lazyframework)\.py' | \
+ grep -vE 'dropbox/mac/(version|__init__).py' | \
awk '{print $NF}' > lib.delete
zip library.zip -d $(cat lib.delete)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dropbox.git/commitdiff/8669a5fc3dae2b70f22d1bb7766820fbc81dfd3d
More information about the pld-cvs-commit
mailing list