diff --git a/qgis.spec b/qgis.spec index be00cd2..8a97e7e 100644 --- a/qgis.spec +++ b/qgis.spec @@ -100,6 +100,7 @@ cmake -Wno-dev %{intsq} \ -D WITH_BINDINGS=TRUE \ -D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \ -D QGIS_MANUAL_SUBDIR=share/man \ + -D CMAKE_SKIP_RPATH=ON \ %if 0%{?suse_version} <= 1030 -D WITH_INTERNAL_SQLITE3=TRUE \ -D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3 \ @@ -127,14 +128,6 @@ ln -s ../%{name}/images/icons/qgis-icon.png \ # Do not update .desktop files %suse_update_desktop_file -n %{name} -# ERROR: RPATH "/" on /var/tmp/qgis-1.4.0-build/ ... is not allowed -#%if 0%{?suse_version} >= 1110 -#%__chmod 644 %{buildroot}%{_bindir}/qgis -#%__chmod 644 %{buildroot}%{_bindir}/qgis_help -#chrpath --delete %{buildroot}%{_bindir}/qgis -#chrpath --delete %{buildroot}%{_bindir}/qgis_help -#%endif - %clean rm -rf %{buildroot}