packages: calibre/calibre.spec - try to fix 64bit build on multiarch systems

atler atler at pld-linux.org
Wed Jul 20 23:12:34 CEST 2011


Author: atler                        Date: Wed Jul 20 21:12:34 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- try to fix 64bit build on multiarch systems

---- Files affected:
packages/calibre:
   calibre.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: packages/calibre/calibre.spec
diff -u packages/calibre/calibre.spec:1.101 packages/calibre/calibre.spec:1.102
--- packages/calibre/calibre.spec:1.101	Wed Jul 20 22:47:04 2011
+++ packages/calibre/calibre.spec	Wed Jul 20 23:12:28 2011
@@ -112,6 +112,9 @@
 %patch4 -p1
 %patch5 -p1
 
+# 64bit target build fix
+%{__sed} -i -e "s!'/usr/lib'!'%{_libdir}'!g" setup/build_environment.py
+
 # upstream decides to store locale files in a single zip file but we prefer separate .mo
 mkdir resources/localization/locales
 unzip resources/localization/locales.zip -d resources/localization/locales
@@ -209,6 +212,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2011/07/20 21:12:28  atler
+- try to fix 64bit build on multiarch systems
+
 Revision 1.101  2011/07/20 20:47:04  atler
 - pass cc/cxx/cflags/ldflags to build script
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/calibre/calibre.spec?r1=1.101&r2=1.102&f=u



More information about the pld-cvs-commit mailing list