diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 23:47:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-20 10:39:00 +0100 |
commit | c68b975693c10899ce50b4d8c2aa3985ca890ce3 (patch) | |
tree | ef54103fa3ea5f6a34331ddf37f9124f59a24efe /meta/classes/package_deb.bbclass | |
parent | 8b9df5112443c1b712cb5c63128bebbbd38cd7fc (diff) | |
download | openembedded-core-c68b975693c10899ce50b4d8c2aa3985ca890ce3.tar.gz openembedded-core-c68b975693c10899ce50b4d8c2aa3985ca890ce3.tar.bz2 openembedded-core-c68b975693c10899ce50b4d8c2aa3985ca890ce3.zip |
package_ipk/deb: Drop version information from RPROVIDES
In some scenarios rpm needs version information from RPROVIDES. We can
add this to the metadata where needed however we need to stop it entering
the ipk/deb packages. This data is not needed due to the way opkg/dpkg
handle the data.
This patch ensures that data isn't used.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index a165a9ab9b..9e1ed28c3a 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -215,7 +215,8 @@ python do_package_deb () { del rrecommends[dep] rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "") debian_cmp_remap(rsuggests) - rprovides = bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or "") + # Deliberately drop version information here, not wanted/supported by deb + rprovides = dict.fromkeys(bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or ""), []) debian_cmp_remap(rprovides) rreplaces = bb.utils.explode_dep_versions2(localdata.getVar("RREPLACES", True) or "") debian_cmp_remap(rreplaces) |