[mingw-libsoup] Install translations to the correct folder

Erik van Pienbroek epienbro at fedoraproject.org
Sat Aug 3 19:06:58 UTC 2013


commit d2798771a7fe50c4f227254990d8e0242b41a72b
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Sat Aug 3 21:02:54 2013 +0200

    Install translations to the correct folder

 mingw-libsoup.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/mingw-libsoup.spec b/mingw-libsoup.spec
index d2959a0..4fcbd6e 100644
--- a/mingw-libsoup.spec
+++ b/mingw-libsoup.spec
@@ -109,6 +109,10 @@ Static version of the MinGW Windows Libsoup library.
 
 
 %build
+# Workaround for intltool bug #398571 which causes translations to go to
+# %%{mingw32_libdir}/locale instead of %%{mingw32_datadir}/locale
+export DATADIRNAME=share
+
 # Libsoup can't build static and shared libraries in one go, so we build the package twice here
 export CFLAGS="-DGLIB_STATIC_COMPILATION -DGOBJECT_STATIC_COMPILATION -DLIBXML_STATIC'"
 MINGW_BUILDDIR_SUFFIX=static %mingw_configure --with-gnome --without-apache-httpd --enable-static --disable-shared


More information about the scm-commits mailing list