[SCM] spatialite branch, master, updated. debian/3.0.0_beta20110817-3-45-g30b6919

David Paleino dapal at debian.org
Sat Dec 1 19:41:47 UTC 2012


The following commit has been merged in the master branch:
commit 708e9eecd42ed5e833c74887a1213f816a9ac9df
Author: David Paleino <dapal at debian.org>
Date:   Sat Dec 1 12:19:10 2012 +0100

    Backup and restore test databases, they get modified during build-time tests.

diff --git a/debian/changelog b/debian/changelog
index 392a48a..1526021 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,10 @@ spatialite (4.0.0-1) UNRELEASED; urgency=low
   * Also build a debugging symbols package: libspatialite3-dbg.
   * SONAME bump: from libspatialite3 to libspatialite5.
   * Updated symbols file.
+  * Backup and restore test databases, they get modified during
+    build-time tests.
 
- -- David Paleino <dapal at debian.org>  Thu, 29 Nov 2012 21:46:44 +0100
+ -- David Paleino <dapal at debian.org>  Sat, 01 Dec 2012 12:18:49 +0100
 
 spatialite (3.1.0~rc2-1) unstable; urgency=low
 
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index e716f06..0000000
--- a/debian/clean
+++ /dev/null
@@ -1,2 +0,0 @@
-test/*.sqlite
-test/sql_stmt_tests/*.sqlite
diff --git a/debian/rules b/debian/rules
index 8fc5089..d9825d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,15 @@ override_dh_auto_configure:
 		$(EPSG) \
 		--enable-proj
 
+override_dh_auto_test:
+	mkdir -p debian/backup/stmt
+	cp test/*.sqlite debian/backup/
+	cp test/sql_stmt_tests/*.sqlite debian/backup/stmt/
+	dh_auto_test
+	cp debian/backup/stmt/*.sqlite test/sql_stmt_tests/
+	cp debian/backup/*.sqlite test/
+	rm -rf debian/backup
+
 override_dh_shlibdeps:
 	dh_shlibdeps -l/usr/lib:$(CURDIR)/debian/tmp/usr/lib
 

-- 
geospatial extension for SQLite



More information about the Pkg-grass-devel mailing list