]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm.bbclass: correctly map RRECOMMENDS and RSUGGESTS to rpm tags
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Thu, 19 Jan 2017 17:24:37 +0000 (19:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Mar 2017 09:43:21 +0000 (09:43 +0000)
commit06270f20ba4312d20d0fd348595adf1b239bcac5
treeda61b8c6851e59b5d82eb8a7738595e782fc08f9
parenta5cc38481be3c5e6ccbecf951f9fdc049e5101d5
package_rpm.bbclass: correctly map RRECOMMENDS and RSUGGESTS to rpm tags

Previously they were swapped, not sure why. Their meaning, as far as rpm
world goes, is different:

- Recommends is a soft dependency and will be installed by default; there is
an option not to do that.

- Suggests is a suggestion to be picked up and presented to end user by
package management tools; it has no special meaning otherwise.

OE packages use RRECOMMENDS, which should be mapped to Recommends rpm tag,
so that the packages will be picked up as dependencies.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
meta/classes/package_rpm.bbclass