try to fix version.py for rawhide

epel8
Tom Callaway 6 years ago
parent 2c3a8f916a
commit 8fac8b3f43

@ -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

@ -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 Patch100: chromium-67.0.3396.62-epel7-use-old-python-exec-syntax.patch
# Add "Fedora" to the user agent string # Add "Fedora" to the user agent string
Patch101: chromium-67.0.3396.87-fedora-user-agent.patch 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: # Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
@ -779,6 +781,7 @@ udev.
%patch100 -p1 -b .oldexec %patch100 -p1 -b .oldexec
%endif %endif
%patch101 -p1 -b .fedora-user-agent %patch101 -p1 -b .fedora-user-agent
%patch102 -p1 -b .py3fix
# Change shebang in all relevant files in this directory and all subdirectories # Change shebang in all relevant files in this directory and all subdirectories

Loading…
Cancel
Save