summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_rpm.bbclass12
1 files changed, 4 insertions, 8 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 07eb974f73..480c6d58d3 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -450,10 +450,8 @@ python write_specfile () {
450 if splitrpostrm: 450 if splitrpostrm:
451 print_deps(splitrdepends, "Requires(postun)", spec_preamble_bottom, d) 451 print_deps(splitrdepends, "Requires(postun)", spec_preamble_bottom, d)
452 452
453 # Suggests in RPM are like recommends in OE-core! 453 print_deps(splitrrecommends, "Recommends", spec_preamble_bottom, d)
454 print_deps(splitrrecommends, "Suggests", spec_preamble_bottom, d) 454 print_deps(splitrsuggests, "Suggests", spec_preamble_bottom, d)
455 # While there is no analog for suggests... (So call them recommends for now)
456 print_deps(splitrsuggests, "Recommends", spec_preamble_bottom, d)
457 print_deps(splitrprovides, "Provides", spec_preamble_bottom, d) 455 print_deps(splitrprovides, "Provides", spec_preamble_bottom, d)
458 print_deps(splitrobsoletes, "Obsoletes", spec_preamble_bottom, d) 456 print_deps(splitrobsoletes, "Obsoletes", spec_preamble_bottom, d)
459 457
@@ -560,10 +558,8 @@ python write_specfile () {
560 if srcrpostrm: 558 if srcrpostrm:
561 print_deps(srcrdepends, "Requires(postun)", spec_preamble_top, d) 559 print_deps(srcrdepends, "Requires(postun)", spec_preamble_top, d)
562 560
563 # Suggests in RPM are like recommends in OE-core! 561 print_deps(srcrrecommends, "Recommends", spec_preamble_top, d)
564 print_deps(srcrrecommends, "Suggests", spec_preamble_top, d) 562 print_deps(srcrsuggests, "Suggests", spec_preamble_top, d)
565 # While there is no analog for suggests... (So call them recommends for now)
566 print_deps(srcrsuggests, "Recommends", spec_preamble_top, d)
567 print_deps(srcrprovides, "Provides", spec_preamble_top, d) 563 print_deps(srcrprovides, "Provides", spec_preamble_top, d)
568 print_deps(srcrobsoletes, "Obsoletes", spec_preamble_top, d) 564 print_deps(srcrobsoletes, "Obsoletes", spec_preamble_top, d)
569 565