Merge branch 'master' into f25

This commit is contained in:
Tom Callaway 2017-07-21 14:49:41 -04:00
commit f1fb6e46c3
1 changed files with 9 additions and 5 deletions

View File

@ -115,7 +115,7 @@ BuildRequires: libicu-devel >= 5.4
Name: chromium%{chromium_channel}
Version: %{majorversion}.0.3071.115
Release: 2%{?dist}
Release: 3%{?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)
@ -253,6 +253,7 @@ BuildRequires: libusb-devel
BuildRequires: libXdamage-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXtst-devel
BuildRequires: mesa-libGL-devel
BuildRequires: nodejs
BuildRequires: nss-devel
BuildRequires: pciutils-devel
@ -1534,7 +1535,7 @@ if st and st.type == "link" then
os.remove(path)
end
%post libs
%posttrans libs
%{_sbindir}/update-alternatives --install \
%{_libdir}/chromium-browser/libwidevinecdm.so libwidevinecdm.so \
%{_libdir}/chromium-browser/libwidevinecdm.so.fedora 10
@ -1546,12 +1547,12 @@ if [ $1 = 0 ]; then
fi
%if %{freeworld}
%post libs-media-freeworld
%posttrans libs-media-freeworld
%{_sbindir}/update-alternatives --install \
%{_libdir}/chromium-browser/libffmpeg.so libffmpeg.so \
%{_libdir}/chromium-browser/libffmpeg.so.freeworld 5 \
--slave %{_libdir}/chromium-browser/libffmpeg.so.TOC libffmpeg.so.TOC \
%{_libdir}/chromium-browser/libffmpeg.so.TOC.freeworld
%{_libdir}/chromium-browser/libffmpeg.so.TOC.freeworld \
--slave %{_libdir}/chromium-browser/libmedia.so libmedia.so \
%{_libdir}/chromium-browser/libmedia.so.freeworld \
--slave %{_libdir}/chromium-browser/libmedia.so.TOC libmedia.so.TOC \
@ -1563,7 +1564,7 @@ if [ $1 = 0 ]; then
%{_libdir}/chromium-browser/libffmpeg.so.freeworld
fi
%else
%post libs-media
%posttrans libs-media
%{_sbindir}/update-alternatives --install \
%{_libdir}/chromium-browser/libffmpeg.so libffmpeg.so \
%{_libdir}/chromium-browser/libffmpeg.so.fedora 10 \
@ -1740,6 +1741,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
* Fri Jul 21 2017 Tom Callaway <spot@fedoraproject.org> 59.0.3071.115-3
- use posttrans to ensure that old libs are gone before trying to make alternative symlinks
* Thu Jul 13 2017 Tom Callaway <spot@fedoraproject.org> 59.0.3071.115-2
- fix scriptlets