[5/6] package_rpm.bbclass: python2 -> python3

Submitted by Robert Yang on June 28, 2019, 12:23 p.m. | Patch ID: 162623

Details

Message ID dd3dd061e7b576186139fb9524642519f454dd94.1561724553.git.liezhi.yang@windriver.com
State Master Next
Commit 8208fffc95b46e03bab967462c17d83e0a687d50
Headers show

Commit Message

Robert Yang June 28, 2019, 12:23 p.m.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/package_rpm.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 1a64cb2..a605a57 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -36,7 +36,7 @@  def write_rpm_perfiledata(srcname, d):
     pkgd = d.getVar('PKGD')
 
     def dump_filerdeps(varname, outfile, d):
-        outfile.write("#!/usr/bin/env python\n\n")
+        outfile.write("#!/usr/bin/env python3\n\n")
         outfile.write("# Dependency table\n")
         outfile.write('deps = {\n')
         for pkg in packages.split():