summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass12
1 files changed, 8 insertions, 4 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index a5225dd809..3967ae294e 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -270,8 +270,10 @@ python write_specfile () {
270 splitrobsoletes = dep 270 splitrobsoletes = dep
271 271
272 print_deps(splitrdepends, "Requires", spec_preamble_bottom, d) 272 print_deps(splitrdepends, "Requires", spec_preamble_bottom, d)
273 print_deps(splitrrecommends, "Recommends", spec_preamble_bottom, d) 273 # Suggests in RPM are like recommends in Poky!
274 print_deps(splitrsuggests, "Suggests", spec_preamble_bottom, d) 274 print_deps(splitrrecommends, "Suggests", spec_preamble_bottom, d)
275 # While there is no analog for suggests... (So call them recommends for now)
276 print_deps(splitrsuggests, "Recommends", spec_preamble_bottom, d)
275 print_deps(splitrprovides, "Provides", spec_preamble_bottom, d) 277 print_deps(splitrprovides, "Provides", spec_preamble_bottom, d)
276 print_deps(splitrobsoletes, "Obsoletes", spec_preamble_bottom, d) 278 print_deps(splitrobsoletes, "Obsoletes", spec_preamble_bottom, d)
277 279
@@ -352,8 +354,10 @@ python write_specfile () {
352 354
353 print_deps(srcdepends, "BuildRequires", spec_preamble_top, d) 355 print_deps(srcdepends, "BuildRequires", spec_preamble_top, d)
354 print_deps(srcrdepends, "Requires", spec_preamble_top, d) 356 print_deps(srcrdepends, "Requires", spec_preamble_top, d)
355 print_deps(srcrrecommends, "Recommends", spec_preamble_top, d) 357 # Suggests in RPM are like recommends in Poky!
356 print_deps(srcrsuggests, "Suggests", spec_preamble_top, d) 358 print_deps(srcrrecommends, "Suggests", spec_preamble_top, d)
359 # While there is no analog for suggests... (So call them recommends for now)
360 print_deps(srcrsuggests, "Recommends", spec_preamble_top, d)
357 print_deps(srcrprovides, "Provides", spec_preamble_top, d) 361 print_deps(srcrprovides, "Provides", spec_preamble_top, d)
358 print_deps(srcrobsoletes, "Obsoletes", spec_preamble_top, d) 362 print_deps(srcrobsoletes, "Obsoletes", spec_preamble_top, d)
359 363