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

View File

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