try to fix version.py for rawhide

This commit is contained in:
Tom Callaway 2018-07-11 12:34:10 -04:00
parent 2c3a8f916a
commit 8fac8b3f43
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -up chromium-67.0.3396.99/build/util/version.py.py3fix chromium-67.0.3396.99/build/util/version.py
--- chromium-67.0.3396.99/build/util/version.py.py3fix 2018-07-11 11:39:14.728600503 -0400
+++ chromium-67.0.3396.99/build/util/version.py 2018-07-11 11:39:22.401406816 -0400
@@ -68,7 +68,7 @@ def subst_template(contents, values):
try:
contents = contents.replace('@' + key + '@', val)
except TypeError:
- print repr(key), repr(val)
+ print(repr(key), repr(val))
return contents

View File

@ -259,6 +259,8 @@ Patch99: chromium-67.0.3396.62-crashpad-aarch64-buildfix.patch
Patch100: chromium-67.0.3396.62-epel7-use-old-python-exec-syntax.patch
# Add "Fedora" to the user agent string
Patch101: chromium-67.0.3396.87-fedora-user-agent.patch
# Try to fix version.py for Rawhide
Patch102: chromium-67.0.3396.99-py3fix.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
@ -779,6 +781,7 @@ udev.
%patch100 -p1 -b .oldexec
%endif
%patch101 -p1 -b .fedora-user-agent
%patch102 -p1 -b .py3fix
# Change shebang in all relevant files in this directory and all subdirectories