Mageia Bugzilla – Attachment 1762 Details for
Bug 4632
rpmsrate is missing a lot packages in CAT_SPELLCHECK
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
I think this is because hunspell-XX doesn't require locale-XX
rpmsrate.diff (text/plain), 585 bytes, created by
Thierry Vignaud
on 2012-03-14 11:29:20 CET
(
hide
)
Description:
I think this is because hunspell-XX doesn't require locale-XX
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2012-03-14 11:29:20 CET
Size:
585 bytes
patch
obsolete
>--- /tmp/rpmsrate.pm 2012-03-14 10:28:02.991016966 +0000 >+++ /usr/lib/perl5/vendor_perl/5.12.3/MGATools/rpmsrate.pm 2012-03-14 10:27:30.297994436 +0000 >@@ -108,7 +108,7 @@ > } > # some i18n packages does not require the same locale, e.g. kde-i18n-nb and nn requires locales-no > # if (grep { s/locales-// && $loc =~ /^$_(_|$)/ } @{$header{REQUIRENAME}}) { >- if (any { /^locales-...?$/ } $pkg->requires) { >+ if ((any { /^locales-...?$/ } $pkg->requires)|| $pkg->name =~ /spell-../) { > push @{$locale{$pg}}, $loc; > $localized_pkg{"$pg-$loc"} = 1 > }
--- /tmp/rpmsrate.pm 2012-03-14 10:28:02.991016966 +0000 +++ /usr/lib/perl5/vendor_perl/5.12.3/MGATools/rpmsrate.pm 2012-03-14 10:27:30.297994436 +0000 @@ -108,7 +108,7 @@ } # some i18n packages does not require the same locale, e.g. kde-i18n-nb and nn requires locales-no # if (grep { s/locales-// && $loc =~ /^$_(_|$)/ } @{$header{REQUIRENAME}}) { - if (any { /^locales-...?$/ } $pkg->requires) { + if ((any { /^locales-...?$/ } $pkg->requires)|| $pkg->name =~ /spell-../) { push @{$locale{$pg}}, $loc; $localized_pkg{"$pg-$loc"} = 1 }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4632
: 1762 |
1764