From f88e19764b6d99aae269f713954d1d405b468806 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 23 Jun 2017 16:25:05 -0400 Subject: [PATCH] moar chrome-remote-desktop fixes --- chromium.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/chromium.spec b/chromium.spec index 895b03d2..b7fec5dd 100644 --- a/chromium.spec +++ b/chromium.spec @@ -110,7 +110,7 @@ BuildRequires: libicu-devel >= 5.4 Name: chromium%{chromium_channel} Version: %{majorversion}.0.3071.109 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A WebKit (Blink) powered web browser Url: http://www.chromium.org/Home License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2) @@ -1096,7 +1096,8 @@ done mkdir -p %{buildroot}%{_sysconfdir}/opt/chrome/native-messaging-hosts pushd %{buildroot}%{_sysconfdir}/opt/chrome/native-messaging-hosts for i in ../../../chromium/native-messaging-hosts/*; do - ln -s $i . +# rpm gets unhappy when we symlink here + cp -a $i . done popd @@ -1642,6 +1643,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %{chromium_path}/chromedriver %changelog +* Fri Jun 23 2017 Tom Callaway 59.0.3071.109-4 +- copy files into /etc/opt/chrome/native-messaging-hosts instead of making symlinks + this results in duplicate copies of the same files, but eh. making rpm happy. + * Fri Jun 23 2017 Tom Callaway 59.0.3071.109-3 - use pretrans scriptlet to remove symlink on /etc/opt/chrome/native-messaging-hosts (it is now a directory)