diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2019-09-19 18:35:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-19 20:30:35 +0100 |
commit | 62c67d0c0d8913871ee169578e05a6b14a51901d (patch) | |
tree | afaa12777fe1d2e6db1b561c66c3cc61219cf38c /meta/classes/package_rpm.bbclass | |
parent | 4420f6d0c223ae32bb8459ecf384cba60deb2a9a (diff) | |
download | poky-62c67d0c0d8913871ee169578e05a6b14a51901d.tar.gz |
package_rpm.bbclass: Remove a misleading bb.note()
It should have been removed in 3db9d865 (classes/package_rpm.bbclass:
Enhance diagnostic messages) when it was split in two new notes.
Also change the casing of two other notes to align them with the other
notes.
(From OE-Core rev: b40e245795cd19c7d36df096fa1f30c75490ce46)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index a605a57ecc..9145717f98 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -409,7 +409,6 @@ python write_specfile () { | |||
409 | if not file_list and localdata.getVar('ALLOW_EMPTY', False) != "1": | 409 | if not file_list and localdata.getVar('ALLOW_EMPTY', False) != "1": |
410 | bb.note("Not creating empty RPM package for %s" % splitname) | 410 | bb.note("Not creating empty RPM package for %s" % splitname) |
411 | else: | 411 | else: |
412 | bb.note("Creating RPM package for %s" % splitname) | ||
413 | spec_files_top.append('%files') | 412 | spec_files_top.append('%files') |
414 | if extra_pkgdata: | 413 | if extra_pkgdata: |
415 | package_rpm_extra_pkgdata(splitname, spec_files_top, localdata) | 414 | package_rpm_extra_pkgdata(splitname, spec_files_top, localdata) |
@@ -418,7 +417,7 @@ python write_specfile () { | |||
418 | bb.note("Creating RPM package for %s" % splitname) | 417 | bb.note("Creating RPM package for %s" % splitname) |
419 | spec_files_top.extend(file_list) | 418 | spec_files_top.extend(file_list) |
420 | else: | 419 | else: |
421 | bb.note("Creating EMPTY RPM Package for %s" % splitname) | 420 | bb.note("Creating empty RPM package for %s" % splitname) |
422 | spec_files_top.append('') | 421 | spec_files_top.append('') |
423 | continue | 422 | continue |
424 | 423 | ||
@@ -510,7 +509,7 @@ python write_specfile () { | |||
510 | bb.note("Creating RPM package for %s" % splitname) | 509 | bb.note("Creating RPM package for %s" % splitname) |
511 | spec_files_bottom.extend(file_list) | 510 | spec_files_bottom.extend(file_list) |
512 | else: | 511 | else: |
513 | bb.note("Creating EMPTY RPM Package for %s" % splitname) | 512 | bb.note("Creating empty RPM package for %s" % splitname) |
514 | spec_files_bottom.append('') | 513 | spec_files_bottom.append('') |
515 | 514 | ||
516 | del localdata | 515 | del localdata |