Bug 8716

Summary: most of libreoffice-langpack- doesn't require locales-??
Product: Mageia Reporter: Luc Menut <lmenut>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: dmorganec, ennael1, marja11, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: 3beta1
Source RPM: libreoffice-4.0.0.1-1.mga3.src.rpm CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 8751    

Description Luc Menut 2013-01-17 00:12:21 CET
Description of problem:
Most of the libreoffice-langpack doesn't require the corresponding locales-?? package, so that "libreoffice-langpack-ar libreoffice-langpack-ca" from rpmsrate-raw is not expanded to list all libreoffice-langpack-?? in rpmsrate.

list of libreoffice-langpack-?? with missing requires locales-??:
libreoffice-langpack-af-4.0.0.1-1.mga3
libreoffice-langpack-ar-4.0.0.1-1.mga3
libreoffice-langpack-as-4.0.0.1-1.mga3
libreoffice-langpack-bg-4.0.0.1-1.mga3
libreoffice-langpack-bn-4.0.0.1-1.mga3
libreoffice-langpack-ca-4.0.0.1-1.mga3
libreoffice-langpack-cs-4.0.0.1-1.mga3
libreoffice-langpack-cy-4.0.0.1-1.mga3
libreoffice-langpack-da-4.0.0.1-1.mga3
libreoffice-langpack-de-4.0.0.1-1.mga3
libreoffice-langpack-dz-4.0.0.1-1.mga3
libreoffice-langpack-el-4.0.0.1-1.mga3
libreoffice-langpack-en-4.0.0.1-1.mga3
libreoffice-langpack-es-4.0.0.1-1.mga3
libreoffice-langpack-et-4.0.0.1-1.mga3
libreoffice-langpack-eu-4.0.0.1-1.mga3
libreoffice-langpack-fa-4.0.0.1-1.mga3
libreoffice-langpack-fi-4.0.0.1-1.mga3
libreoffice-langpack-fr-4.0.0.1-1.mga3
libreoffice-langpack-ga-4.0.0.1-1.mga3
libreoffice-langpack-gl-4.0.0.1-1.mga3
libreoffice-langpack-gu-4.0.0.1-1.mga3
libreoffice-langpack-he-4.0.0.1-1.mga3
libreoffice-langpack-hi-4.0.0.1-1.mga3
libreoffice-langpack-hr-4.0.0.1-1.mga3
libreoffice-langpack-hu-4.0.0.1-1.mga3
libreoffice-langpack-it-4.0.0.1-1.mga3
libreoffice-langpack-ja-4.0.0.1-1.mga3
libreoffice-langpack-kn-4.0.0.1-1.mga3
libreoffice-langpack-ko-4.0.0.1-1.mga3
libreoffice-langpack-lt-4.0.0.1-1.mga3
libreoffice-langpack-lv-4.0.0.1-1.mga3
libreoffice-langpack-mai-4.0.0.1-1.mga3
libreoffice-langpack-ml-4.0.0.1-1.mga3
libreoffice-langpack-mr-4.0.0.1-1.mga3
libreoffice-langpack-nl-4.0.0.1-1.mga3
libreoffice-langpack-nr-4.0.0.1-1.mga3
libreoffice-langpack-nso-4.0.0.1-1.mga3
libreoffice-langpack-or-4.0.0.1-1.mga3
libreoffice-langpack-pa-4.0.0.1-1.mga3
libreoffice-langpack-pl-4.0.0.1-1.mga3
libreoffice-langpack-pt-BR-4.0.0.1-1.mga3
libreoffice-langpack-ro-4.0.0.1-1.mga3
libreoffice-langpack-ru-4.0.0.1-1.mga3
libreoffice-langpack-si-4.0.0.1-1.mga3
libreoffice-langpack-sk-4.0.0.1-1.mga3
libreoffice-langpack-sl-4.0.0.1-1.mga3
libreoffice-langpack-sr-4.0.0.1-1.mga3
libreoffice-langpack-ss-4.0.0.1-1.mga3
libreoffice-langpack-st-4.0.0.1-1.mga3
libreoffice-langpack-sv-4.0.0.1-1.mga3
libreoffice-langpack-ta-4.0.0.1-1.mga3
libreoffice-langpack-te-4.0.0.1-1.mga3
libreoffice-langpack-th-4.0.0.1-1.mga3
libreoffice-langpack-tn-4.0.0.1-1.mga3
libreoffice-langpack-tr-4.0.0.1-1.mga3
libreoffice-langpack-ts-4.0.0.1-1.mga3
libreoffice-langpack-uk-4.0.0.1-1.mga3
libreoffice-langpack-ve-4.0.0.1-1.mga3
libreoffice-langpack-xh-4.0.0.1-1.mga3
libreoffice-langpack-zu-4.0.0.1-1.mga3


@ennael: due to this bug, most of autocorr-*, hyphen-* and mythes-* are probably missing on beta2 dvd.
Luc Menut 2013-01-17 00:14:10 CET

Priority: Normal => release_blocker
CC: (none) => dmorganec, ennael1, thierry.vignaud

Comment 1 D Morgan 2013-01-17 10:22:20 CET
pb when migrating to LO4 i think, we will take a look
Comment 2 Luc Menut 2013-01-17 12:56:52 CET
The removal of -U from most of %langpack's arguments could be the problem (svn rev. 331200).
lines 819 to 895 in 
http://svnweb.mageia.org/packages/cauldron/libreoffice/current/SPECS/libreoffice.spec?r1=331193&r2=331200
Thierry Vignaud 2013-01-19 21:57:05 CET

Blocks: (none) => 8751

Marja Van Waes 2013-01-19 23:09:11 CET

CC: (none) => marja11
Whiteboard: (none) => 3beta1

Comment 3 Thierry Vignaud 2013-01-20 10:39:56 CET
Fixed

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Luc Menut 2013-01-20 18:20:14 CET
Thanks Thierry,

libreoffice-4.0.0.1-6 fixes this bug for most of the locales, but the requires is still missing for nso and pt-BR.
On a system without LO (locales-en and locales-fr installed), if I try to install LO-writer (1),
urpmi libreoffice-writer
In order to satisfy the 'libreoffice-langpack[== 4.0.0.1-6.mga3]' dependency, one of the following packages is needed:
 1- libreoffice-langpack-fr-4.0.0.1-6.mga3.i586: French language pack for LibreOffice (to install)
 2- libreoffice-langpack-en-4.0.0.1-6.mga3.i586: English language pack for LibreOffice (to install)
 3- libreoffice-langpack-nso-4.0.0.1-6.mga3.i586: Northern Sotho language pack for LibreOffice (to install)
 4- libreoffice-langpack-pt-BR-4.0.0.1-6.mga3.i586: Brazilian Portuguese language pack for LibreOffice (to install)
What is your choice? (1-4)

Ideally 3- and 4- shouldn't be proposed:
- libreoffice-langpack-nso is not a regression versus LO 3.5.5 in mga2; we have locales-nso, couln't we require it in LO-langpack-nso?
- libreoffice-langpack-pt-BR doesn't requires locales-pt (it requires it in LO 3.5.5), and I don't understand why: it have the "-u pt" ??


(1) I applied your fix in Resolve.pm svn. rev 7148 "(_is_selected_or_installed) fix scoring locale packages"

regards,
Luc