summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index db379b4c9..2b8ef68c9 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -68,6 +68,8 @@ python write_specfile() {
val = bb.data.getVar(var, d, 1)
fd.write("%s\t: %s\n" % (out_vartranslate[var], val))
+ fd.write("AutoReqProv: no\n")
+
bb.build.exec_func("mapping_rename_hook", d)
rdepends = " ".join(bb.utils.explode_deps(bb.data.getVar('RDEPENDS', d, True) or ""))
if rdepends: