Disable RPM helper which removes RPATHs

This commit is contained in:
Mikhail Novosyolov 2018-10-28 17:03:39 +03:00
parent fe9404a47f
commit a164835e5f

View file

@ -564,8 +564,9 @@ install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{crname}/
install -m 0644 %{SOURCE31} %{buildroot}%{_sysconfdir}/%{crname}/
# chromium-stable-codecs-ffmpeg, as chromium-codecs-ffmpeg-extra in Ubuntu
# Note: don't forget about UBUNTU-set-rpath-on-chromium-executables.patch, see https://launchpad.net/bugs/1718885
# Also, RPM helper removes RPATHs by default
install -m 0644 out/Release/libffmpeg.so %{buildroot}%{_crdir}/
# We set RPATH by UBUNTU-set-rpath-on-chromium-executables.patch
# RPM helper removes RPATHs by default, so disable it
export DONT_REMOVE_RPATH=1
find %{buildroot} -name "*.nexe" -exec strip {} \;