From c2160818253b7333918d7a90c6bc22ad3eabe041 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 12 Jul 2012 07:34:05 +0200 Subject: [PATCH] fix expansion of with_lang --- libreoffice.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index a1176db..edd33d8 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -23,7 +23,6 @@ %define with_lang --with-lang="%{langpack_langs}" %else %define langpack_langs en-US -%define with_lang '' %endif Summary: Free Software Productivity Suite @@ -826,7 +825,7 @@ touch autogen.lastrun --without-system-mozilla-headers --with-system-mythes --with-system-dicts \ --without-system-saxon --with-external-dict-dir=/usr/share/myspell \ --without-myspell-dicts --without-fonts --without-ppds --without-afms \ - %{with_lang} --with-poor-help-localizations="$POORHELPS" \ + %{?with_lang} --with-poor-help-localizations="$POORHELPS" \ --with-external-tar=`pwd`/ext_sources --with-java-target-version=1.5 \ --without-system-hsqldb --enable-kde4 \ %{?with_binfilter:--enable-binfilter} \