Don't build with Spatialite if on PPC

This commit is contained in:
Volker Fröhlich 2012-08-09 23:58:17 +02:00
parent cf419dc326
commit e08aa4c3fe

View File

@ -6,7 +6,7 @@
%endif
# There is no PPC64 build for libspatialite
%ifnarch ppc64
%ifnarch ppc ppc64
%global configure_with_spatialite -D WITH_SPATIALITE:BOOL=TRUE -D WITH_INTERNAL_SPATIALITE:BOOL=FALSE
%endif
@ -15,7 +15,7 @@
Name: qgis
Version: 1.8.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: A user friendly Open Source Geographic Information System
# Update FSF address or ship a GPLv3+ license file
@ -64,7 +64,7 @@ BuildRequires: geos-devel
BuildRequires: grass-devel
BuildRequires: gsl-devel
%ifnarch ppc64
%ifnarch ppc ppc64
BuildRequires: libspatialite-devel
%endif
@ -355,6 +355,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libexecdir}/%{name}
%changelog
* Thu Aug 9 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-7
- Append ppc to ppc64 conditionals
* Wed Jul 18 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-6
- Add patch for QGIS bug #5809