- if (isin($pkgs->{'status'}, qw (related)) and $pkg->{'notes'} ne "related") {
- $pkg->{'notes'} = "related";
+ if (isin($pkgs->{'status'}, qw <related not-for-us>)) {
+ my $tnotes = {'related' => 'related', 'not-for-us' => 'packages-arch-specific'}->{$pkgs->{'status'}};
+ if ($pkg->{'notes'} && $pkg->{'notes'} ne $tnotes) {
+ $pkg->{'notes'} = $tnotes;
+ $change++;
+ }
+ }
+ if ($pkgs->{'notes'} && (($pkg->{'notes'}//"") ne $pkgs->{'notes'})) {
+ $pkg->{'notes'} = $pkgs->{'notes'};