On 08.02.2012 09:09, D.Morgan wrote:
On Wed, Feb 8, 2012 at 6:31 AM, Kamil Rytarowski<[email protected]>  wrote:
Hello!

I've got problem with obsoleting some myspell packages.

$ rpm -qa|grep csb
myspell-csb_CSB-1.0.2-30.mga1
hunspell-csb-0.20050311.1-7.mga2

$ urpmq --provides myspell-csb_CSB
myspell-pl[== 1.0.2-30.mga1]
myspell-dictionary[== 1.0.2-30.mga1]
enchant-dictionary[== 2]
myspell-csb_CSB[== 1.0.2-30.mga1]

$ urpmq --provides hunspell-csb
enchant-dictionary[== 2]
hunspell-dictionary
hunspell-csb_PL[== 0.20050311.1-7.mga2]
dictionary-csb[== 2]
dictionary-csb_PL[== 2]
myspell-csb
myspell-csb_CSB
hunspell-csb[== 0.20050311.1-7.mga2]


$ urpmq --obsoletes hunspell-csb
myspell-csb[<= 1.0.2-30]
myspell-csb_CSB[<= 1.0.2-30]

The obsoleting is working when I'm adding ending ".mga1.noarch". Where is
the problem? Am I doing something wrong?
I commited a fix on svn that works on my machine, i tested:

->  Previous rpm didn't removed myspell
->  New one replace it by hunspell
Than you, I will apply this change to the other packages.

Btw myspell-csb_CSB installed locale-pl but  hunspell-csb didn't. Is
it intended ?
Yes, it is. Dictionaries are just simple text files, and there is absolutely no need for locales.

Reply via email to