From b0c817dd3553ddfd6b26e4211c7fe6c7e7902114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volker=20Fr=C3=B6hlich?= Date: Wed, 23 Sep 2015 12:09:05 +0200 Subject: [PATCH] Correct conditionals for spatialite support on PPC and Fedora Thanks to Rafael Fonseca --- qgis.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qgis.spec b/qgis.spec index 42df095..d40ff30 100644 --- a/qgis.spec +++ b/qgis.spec @@ -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 - 2.10.1-3 +- Correct conditionals for spatialite support on PPC and Fedora + (Thanks to Rafael Fonseca) + * Sun Jul 26 2015 Volker Froehlich - 2.10.1-2 - Rebuild for GDAL 2.0