summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package_deb.bbclass3
-rw-r--r--meta/classes/package_ipk.bbclass3
2 files changed, 4 insertions, 2 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 () {
215 del rrecommends[dep] 215 del rrecommends[dep]
216 rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "") 216 rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "")
217 debian_cmp_remap(rsuggests) 217 debian_cmp_remap(rsuggests)
218 rprovides = bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or "") 218 # Deliberately drop version information here, not wanted/supported by deb
219 rprovides = dict.fromkeys(bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or ""), [])
219 debian_cmp_remap(rprovides) 220 debian_cmp_remap(rprovides)
220 rreplaces = bb.utils.explode_dep_versions2(localdata.getVar("RREPLACES", True) or "") 221 rreplaces = bb.utils.explode_dep_versions2(localdata.getVar("RREPLACES", True) or "")
221 debian_cmp_remap(rreplaces) 222 debian_cmp_remap(rreplaces)
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index e7109a9514..a0fa62c28c 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -188,7 +188,8 @@ python do_package_ipk () {
188 debian_cmp_remap(rrecommends) 188 debian_cmp_remap(rrecommends)
189 rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "") 189 rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "")
190 debian_cmp_remap(rsuggests) 190 debian_cmp_remap(rsuggests)
191 rprovides = bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or "") 191 # Deliberately drop version information here, not wanted/supported by ipk
192 rprovides = dict.fromkeys(bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or ""), [])
192 debian_cmp_remap(rprovides) 193 debian_cmp_remap(rprovides)
193 rreplaces = bb.utils.explode_dep_versions2(localdata.getVar("RREPLACES", True) or "") 194 rreplaces = bb.utils.explode_dep_versions2(localdata.getVar("RREPLACES", True) or "")
194 debian_cmp_remap(rreplaces) 195 debian_cmp_remap(rreplaces)