commit 06c182be2e3dd93758318fe45b1c0a83cd7a2a22
Author: Tomas Popela <tpopela(a)redhat.com>
Date: Wed Nov 15 12:31:22 2017 +0100
Adapt to man page changes for Chromium 63
Starting from Chromium 63 the man page is not installed by default, but
it is generated from the template.
chromium.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/chromium.spec b/chromium.spec
index 9b2e687..a9465e0 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -17,6 +17,7 @@
# %%{nil} for Stable; -beta for Beta; -dev for Devel
# dash in -beta and -dev is intentional !
%global chromium_channel %{nil}
+%global chromium_menu_name Chromium
%global chromium_browser_channel chromium-browser%{chromium_channel}
%global chromium_path %{_libdir}/chromium-browser%{chromium_channel}
%global crd_path %{_libdir}/chrome-remote-desktop
@@ -1244,7 +1245,9 @@ chmod -x %{buildroot}%{chromium_path}/nacl_helper_bootstrap* *.nexe
cp -a protoc pyproto %{buildroot}%{chromium_path}
cp -a chrome %{buildroot}%{chromium_path}/%{chromium_browser_channel}
cp -a chrome_sandbox %{buildroot}%{chromium_path}/chrome-sandbox
-cp -a chrome.1 %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
+cp -a ../../chrome/app/resources/manpage.1.in
%{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
+sed -i "s|@@PACKAGE@@|%{chromium_browser_channel}|g"
%{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
+sed -i "s|@@MENUNAME@@|%{chromium_menu_name}|g"
%{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
# V8 initial snapshots
#
https://code.google.com/p/chromium/issues/detail?id=421063
cp -a natives_blob.bin %{buildroot}%{chromium_path}