diff --git a/chromium.spec b/chromium.spec index 895b03d..b7fec5d 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)