diff options
-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 |