public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libreoffice] rawhide: Use %quote to pass multi-word lang. names to %langpack
@ 2026-08-21 16:49 David Tardon
0 siblings, 0 replies; only message in thread
From: David Tardon @ 2026-08-21 16:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libreoffice
Branch : rawhide
Commit : c66ee568eaf5326217439b7110a9ec462b24bac1
Author : David Tardon <dtardon@redhat.com>
Date : 2026-08-21T18:45:50+02:00
Stats : +3/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libreoffice/c/c66ee568eaf5326217439b7110a9ec462b24bac1?branch=rawhide
Log:
Use %quote to pass multi-word lang. names to %langpack
This makes them expand as expected, which hasn't worked correctly
before, e.g.,:
@@ -1681,3 +1681,3 @@
%package langpack-en-GB
-Summary: British language pack for LibreOffice
+Summary: British English language pack for LibreOffice
Requires: libreoffice-core(x86-64) = 1:26.8.0.2-0.1.fc44
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 67025b7..ded4014 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -989,8 +989,7 @@ Rules for auto-correcting common %{langname} typing errors. \
%langpack -l de -n German -F -H -Y -M -A -T -X -Z
%langpack -l dz -n Dzongkha -F -s ctl -T -X
%langpack -l el -n Greek -F -H -Y -M -A -T -X
-%define langpack_lang British English
-%langpack -l en-GB -n %{langpack_lang} -F -h en -y en -m en -a en -T -X -g en_GB
+%langpack -l en-GB -n %{quote:British English} -F -h en -y en -m en -a en -T -X -g en_GB
%langpack -l eo -n Esperanto -F -H -M -T -X
%langpack -l es -n Spanish -F -H -Y -M -A -T -X -Z
%langpack -l et -n Estonian -F -H -Y -T -X -Z
@@ -1022,10 +1021,8 @@ Rules for auto-correcting common %{langname} typing errors. \
%langpack -l nb -n Bokmal -F -H -Y -M -T -X
%langpack -l nl -n Dutch -F -H -Y -M -A -T -X
%langpack -l nn -n Nynorsk -F -H -Y -M -T -X
-%define langpack_lang Southern Ndebele
-%langpack -l nr -n %{langpack_lang} -F -H -X
-%define langpack_lang Northern Sotho
-%langpack -l nso -n %{langpack_lang} -F -H -X
+%langpack -l nr -n %{quote:Southern Ndebele} -F -H -X
+%langpack -l nso -n %{quote:Northern Sotho} -F -H -X
%langpack -l or -n Odia -F -H -Y -s ctl -X
%langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -g pa_IN -X
%langpack -l pl -n Polish -F -H -Y -M -A -T -X -Z
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 16:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 16:49 [rpms/libreoffice] rawhide: Use %quote to pass multi-word lang. names to %langpack David Tardon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox