#10 Fix Requires: hunspell-pt-BR and hyphen-pt-BR for libreoffice-langpack-pt-BR
Merged 2 years ago by caolanm. Opened 2 years ago by pnemade.
Unknown source rawhide  into  rawhide

file modified
+5 -2
@@ -62,7 +62,7 @@

  Name:           libreoffice

  Epoch:          1

  Version:        %{libo_version}.2

- Release:        2%{?libo_prerelease}%{?dist}

+ Release:        3%{?libo_prerelease}%{?dist}

  License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and MPLv2.0 and CC0

  URL:            http://www.libreoffice.org/

  
@@ -840,7 +840,7 @@

  %langpack -l pl -n Polish -F -H -Y -M -A -T -X

  

  %define langpack_lang Brazilian Portuguese

- %langpack -l pt-BR -n %{langpack_lang} -f pt_BR -h pt -y pt -m pt -a pt -p pt_BR -T -X -g pt_BR

+ %langpack -l pt-BR -n %{langpack_lang} -f pt_BR -h pt_BR -y pt_BR -m pt -a pt -p pt_BR -T -X -g pt_BR

So, you managed to use the correct names--with a hyphen--everywhere in the commit except in the single place where it really matters .-)

  

  %langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -x pt

  %langpack -l ro -n Romanian -A -F -H -Y -M -T -X
@@ -2184,6 +2184,9 @@

  %{_includedir}/LibreOfficeKit

  

  %changelog

+ * Thu Jun 23 2022 Parag Nemade <pnemade AT redhat DOT com> - 1:7.3.4.2-3

+ - Fix Requires: hunspell-pt-BR and hyphen-pt-BR for libreoffice-langpack-pt-BR

+ 

  * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:7.3.4.2-2

  - Rebuilt for Python 3.11

  

Currently libreoffice-langpack-pt-BR pulls hunspell-pt and hyphen-pt

Pull-Request has been merged by caolanm

2 years ago

So, you managed to use the correct names--with a hyphen--everywhere in the commit except in the single place where it really matters .-)

hmm Well, hunspell-pt should have generated hunspell-pt_BR package. I use that locale writing convention everywhere.

Just check Fedora Linux 36 packages

dnf search pt_BR

gimp-help-pt_BR
aspell-pt_BR
cockatrice-langpack-pt_BR
guayadeque-langpack-pt_BR
kde-l10n-pt_BR
langpacks-core-pt_BR
langpacks-pt_BR
man-pages-pt_BR
shotcut-langpack-pt_BR

Whereas only libreoffice follows pt-BR kind of locale convention
libreoffice-help-pt-BR
libreoffice-langpack-pt-BR

So I think corresponding packages should be generated as
hunspell-pt_BR
hyphen-pt_BR
in rawhide as well.

I've sorted out now in the .spec. We used langtags rather than unix locales for the spelling and hyphenation packages. e.g. we have hunspell-en-US and hunspell-en-GB and the pt one is hunspell-pt-BR etc.

ah, dtardon sorted it I mean, I think we're good here now.

Thank you both of you for fixing this quickly.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Metadata