[libreoffice] drop unnecessary %if

David Tardon dtardon at fedoraproject.org
Tue Apr 29 17:40:01 UTC 2014


commit 5c972357f870496bf821866d918f71938c1e765b
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Apr 29 19:36:16 2014 +0200

    drop unnecessary %if

 libreoffice.spec |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 8afc2ec..492798f 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -30,12 +30,8 @@
 # effect
 %bcond_without langpacks
 
-%if %{with langpacks}
 # generated by %%langpack definitions
 %global langpack_langs %{nil}
-%else
-%global langpack_langs en-US
-%endif
 
 Summary:        Free Software Productivity Suite
 Name:           libreoffice
@@ -981,6 +977,8 @@ Rules for auto-correcting common %{langname} typing errors. \
 %{-i:%{_datadir}/autocorr/acor_%{-i*}-*.dat} \
 %{nil}
 
+%langpack -l en -n English -F -H -Y -M -A -E -L en-US -O
+
 %if %{with langpacks}
 
 %langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -V -w af_ZA
@@ -998,7 +996,6 @@ Rules for auto-correcting common %{langname} typing errors. \
 %langpack -l de -n German -F -H -Y -M -A -T -X -O -W
 %langpack -l dz -n Dzongkha -F -s ctl -T -O
 %langpack -l el -n Greek -F -H -Y -M -T -o el_GR -V -w el_GR
-%langpack -l en -n English -F -H -Y -M -A -E -L en-US -O
 %langpack -l es -n Spanish -F -H -Y -M -A -T -X -O -W
 %langpack -l et -n Estonian -F -H -Y -T -o et_EE -V -w et_EE
 %langpack -l eu -n Basque -F -H -Y -T -o eu_ES -V -w eu_ES


More information about the scm-commits mailing list