Nuke the ugly hardwired "known arch" list from label parsing
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 5 Nov 2008 18:37:48 +0000 (20:37 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 5 Nov 2008 18:37:48 +0000 (20:37 +0200)
commitf2a7667482475bbb9bf3acbcf57b755fee987a83
treed1ae6fee58e5cd675c3abb6406ca322d11e89073
parenta9169c46abddfe620c6ae83f3064b50c8bb35852
Nuke the ugly hardwired "known arch" list from label parsing
- we have list of known archs in rpmrc, might as well use it
- avoids having to patch & recompile rpm just to have rpmtsInitIterator()
  recognize new archs when it's runtime configurable otherwise
- checking against compatible arch would be saner except then people could
  get into even more trouble using --ignorearch...
lib/misc.h
lib/rpmrc.c
lib/rpmts.c