]> git.pld-linux.org Git - packages/atk.git/commitdiff
- force UTF-8 locale for gtk-doc
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 27 Nov 2017 15:25:42 +0000 (16:25 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 27 Nov 2017 15:25:42 +0000 (16:25 +0100)
atk.spec

index c40e13925ecf9b3fac4b663e2250c31ab8f67aa9..03cf332d82ae125752307476e60caf1fa8c5f69c 100644 (file)
--- a/atk.spec
+++ b/atk.spec
@@ -20,6 +20,9 @@ BuildRequires:        automake >= 1:1.10
 BuildRequires: docbook-dtd412-xml
 BuildRequires: gettext-tools >= 0.19.2
 BuildRequires: glib2-devel >= 1:2.32.0
+%if %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
+BuildRequires: glibc-localedb-all
+%endif
 BuildRequires: gobject-introspection-devel >= 0.10.0
 %if %{with apidocs}
 BuildRequires: gtk-doc >= 1.13
@@ -126,6 +129,8 @@ Dokumentacja API ATK.
        %{__enable_disable static_libs static} \
        --enable-shared
 
+# gtk-doc require UTF-8 locale
+LC_ALL=C.UTF-8 \
 %{__make}
 
 %install
This page took 0.202039 seconds and 4 git commands to generate.