package_rpm.bbclass: Fix translate_smart_to_oe arch comparison
authorMark Hatle <mark.hatle@windriver.com>
Sat, 2 Mar 2013 01:14:57 +0000 (19:14 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Mar 2013 12:59:05 +0000 (12:59 +0000)
commit0ce444b2b554e884399d0693b8f70175e23c01ee
tree8a97498d3497a7e2a47fd8a9ee949806eecc9dea
parent45e03f7f34b1bee709e596d0eb282f3145f6d042
package_rpm.bbclass: Fix translate_smart_to_oe arch comparison

When the OE arch is of the format "foo_bar-foobar" the previous
comparison routine did not selectively translate the '-' causing
a failed comparison.

In order to work around this issue, we -always- compare the
RPM translated version of the package architectures.

(From OE-Core rev: caf798da9502c1c4967d13a4450fe02b1e7b4850)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass