Correct conditionals for spatialite support on PPC and Fedora

Thanks to Rafael Fonseca
This commit is contained in:
Volker Fröhlich 2015-09-23 12:09:05 +02:00
parent e88486beae
commit b0c817dd35
1 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# libspatialite is present for PPC and PPC64 in Fedora and EL7, but not in older EL
%global configure_with_spatialite -D WITH_QSPATIALITE:BOOL=TRUE -D WITH_INTERNAL_SPATIALITE:BOOL=FALSE
%if 0%{?rhel} <= 6
%if (0%{?rhel} <= 6 && !0%{?fedora})
%ifarch ppc ppc64
%global configure_with_spatialite -D WITH_QSPATIALITE:BOOL=FALSE -D WITH_INTERNAL_SPATIALITE:BOOL=FALSE
%endif
@ -13,7 +13,7 @@
Name: qgis
Version: 2.10.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A user friendly Open Source Geographic Information System
Group: Applications/Engineering
@ -396,6 +396,10 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%changelog
* Sun Jul 26 2015 Volker Froehlich <volker27@gmx.at> - 2.10.1-3
- Correct conditionals for spatialite support on PPC and Fedora
(Thanks to Rafael Fonseca)
* Sun Jul 26 2015 Volker Froehlich <volker27@gmx.at> - 2.10.1-2
- Rebuild for GDAL 2.0