[packages/mapnik] - avoild rebuild during install
baggins
baggins at pld-linux.org
Mon Dec 14 01:20:55 CET 2015
commit 98859610b48f744270194709913c80aeffeea5d9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Dec 14 01:20:39 2015 +0100
- avoild rebuild during install
mapnik.spec | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/mapnik.spec b/mapnik.spec
index 6d9e150..be47ead 100644
--- a/mapnik.spec
+++ b/mapnik.spec
@@ -83,7 +83,8 @@ Statyczna biblioteka Mapnik.
%patch0 -p1
%build
-%scons \
+%scons configure \
+ DESTDIR=$RPM_BUILD_ROOT \
PREFIX=%{_prefix} \
BOOST_TOOLKIT=gcc43 \
INPUT_PLUGINS='csv,gdal,geojson,ogr,pgraster,postgis,raster,shape,sqlite,topojson' \
@@ -91,17 +92,12 @@ Statyczna biblioteka Mapnik.
LIBDIR_SCHEMA=%{_lib} \
SVG2PNG=True
+%scons
+
%install
rm -rf $RPM_BUILD_ROOT
-%scons install \
- DESTDIR=$RPM_BUILD_ROOT \
- PREFIX=%{_prefix} \
- BOOST_TOOLKIT=gcc43 \
- INPUT_PLUGINS='csv,gdal,geojson,ogr,pgraster,postgis,raster,shape,sqlite,topojson' \
- SYSTEM_FONTS=%{_datadir}/fonts/TTF \
- LIBDIR_SCHEMA=%{_lib} \
- SVG2PNG=True
+%scons install
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mapnik.git/commitdiff/98859610b48f744270194709913c80aeffeea5d9
More information about the pld-cvs-commit
mailing list