Otto Dassau 2010-04-26 19:48:55 +00:00 committed by Git OBS Bridge
parent c43e01a189
commit b2caa075c9

View File

@ -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}