[packages/incus] - unify locale dirs
qboosh
qboosh at pld-linux.org
Tue Sep 22 20:21:28 CEST 2026
commit 459315af51635205bc863d8bcd0b6b3891f2611c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Sep 22 20:21:46 2026 +0200
- unify locale dirs
incus.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/incus.spec b/incus.spec
index 04f4def..b79e9d8 100644
--- a/incus.spec
+++ b/incus.spec
@@ -256,9 +256,13 @@ for mo in po/*.mo; do
continue
fi
lang=$(basename $mo .mo)
- install -D -p $mo $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/%{name}.mo
+ install -D -p $mo $RPM_BUILD_ROOT%{_localedir}/$lang/LC_MESSAGES/%{name}.mo
done
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{nb_NO,nb}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh_Hans,zh_CN}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh_Hant,zh_TW}
+
%find_lang %{name}
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/incus.git/commitdiff/459315af51635205bc863d8bcd0b6b3891f2611c
More information about the pld-cvs-commit
mailing list