[libreoffice] fix expansion of with_lang

David Tardon dtardon at fedoraproject.org
Thu Jul 12 05:40:30 UTC 2012


commit c2160818253b7333918d7a90c6bc22ad3eabe041
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Jul 12 07:34:05 2012 +0200

    fix expansion of with_lang

 libreoffice.spec |    3 +--
 1 files changed, 1 insertions(+), 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} \


More information about the scm-commits mailing list