[packages/kealib] - avoid emitting gdal BR from requires_ge macro when not building with gdal; release 3

qboosh qboosh at pld-linux.org
Sun May 22 20:56:14 CEST 2016


commit 22a76de4c6fa17c7f550e57ae3b6cc361dd5fc3e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 22 20:56:38 2016 +0200

    - avoid emitting gdal BR from requires_ge macro when not building with gdal; release 3

 kealib.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/kealib.spec b/kealib.spec
index 3a5b460..c7e4dc3 100644
--- a/kealib.spec
+++ b/kealib.spec
@@ -6,7 +6,7 @@ Summary:	KEALib - HDF5 based raster file format library
 Summary(pl.UTF-8):	KEALib - biblioteka rastrowego formatu plików opartego na HDF5
 Name:		kealib
 Version:	1.4.6
-Release:	2
+Release:	3
 License:	MIT
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/kealib/%{name}-%{version}.tar.gz
@@ -63,7 +63,9 @@ Summary:	KEA plugin for GDAL library
 Summary(pl.UTF-8):	Wtyczka KEA do biblioteki GDAL
 Group:		Libraries
 Requires:	%{name} = %{version}-%{release}
+%if %{with gdal}
 %requires_ge	gdal
+%endif
 
 %description -n gdal-kea
 KEA plugin for GDAL library.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kealib.git/commitdiff/22a76de4c6fa17c7f550e57ae3b6cc361dd5fc3e



More information about the pld-cvs-commit mailing list