added fix for rpath also for sles 11

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=106
This commit is contained in:
Otto Dassau 2010-04-26 15:39:58 +00:00 committed by Git OBS Bridge
parent 9082c64290
commit 9be98c7f8b

View File

@ -128,7 +128,7 @@ ln -s ../%{name}/images/icons/qgis-icon.png \
%suse_update_desktop_file -n %{name}
# ERROR: RPATH "/" on /var/tmp/qgis-1.4.0-build/ ... is not allowed
%if 0%{?suse_version} >= 1110
%if 0%{?suse_version} >= 1110 || 0%{?sles_version} == 11
%__chmod 644 %{buildroot}%{_bindir}/qgis
%__chmod 644 %{buildroot}%{_bindir}/qgis_help
chrpath --delete %{buildroot}%{_bindir}/qgis