aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-06-28 20:23:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-28 13:36:52 +0100
commit8208fffc95b46e03bab967462c17d83e0a687d50 (patch)
treeeb4cabd8cebd19e9c05e9cdcfcc295fb5f92241d
parenteb79217b8761816a21c8f7bed3c5379c1b9230ea (diff)
downloadopenembedded-core-contrib-8208fffc95b46e03bab967462c17d83e0a687d50.tar.gz
package_rpm.bbclass: python2 -> python3
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 1a64cb271a..a605a57ecc 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():