public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David Tardon <dtardon@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libreoffice] rawhide: Use %quote to pass multi-word lang. names to %langpack
Date: Fri, 21 Aug 2026 16:49:52 GMT	[thread overview]
Message-ID: <178733099250.1.11600633920510258667.rpms-libreoffice-c66ee568eaf5@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-21 16:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178733099250.1.11600633920510258667.rpms-libreoffice-c66ee568eaf5@fedoraproject.org \
    --to=dtardon@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox