summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-nag.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/php-horde-nag.spec b/php-horde-nag.spec
index 75eae9d..3ecbee1 100644
--- a/php-horde-nag.spec
+++ b/php-horde-nag.spec
@@ -123,7 +123,12 @@ sed -e '/%{pear_name}.po/d' \
%build
cd %{pear_name}-%{version}
-# Empty build section, most likely nothing required.
+
+# Regenerate the locales
+for po in $(find locale -name \*.po)
+do
+ msgfmt $po -o $(dirname $po)/$(basename $po .po).mo
+done
%install