]> git.pld-linux.org Git - packages/rpmlint.git/blobdiff - python3.patch
- up to 1.11
[packages/rpmlint.git] / python3.patch
diff --git a/python3.patch b/python3.patch
new file mode 100644 (file)
index 0000000..ff5cb9e
--- /dev/null
@@ -0,0 +1,11 @@
+--- rpmlint-rpmlint-1.11/PostCheck.py~ 2021-01-17 18:05:55.000000000 +0100
++++ rpmlint-rpmlint-1.11/PostCheck.py  2021-01-17 18:12:55.108297139 +0100
+@@ -75,7 +75,7 @@
+     tmpfd, tmpname = tempfile.mkstemp(prefix='rpmlint.')
+     tmpfile = os.fdopen(tmpfd, 'wb')
+     try:
+-        tmpfile.write(script)
++        tmpfile.write(script.encode('utf-8'))
+         tmpfile.close()
+         ret = Pkg.getstatusoutput((prog, commandline, tmpname))
+     finally:
This page took 0.04944 seconds and 4 git commands to generate.