Your message dated Sat, 10 Nov 2018 10:42:56 +0000
with message-id <[email protected]>
and subject line Closing bugs for updates included in 9.6
has caused the Debian Bug report #910821,
regarding stretch-pu: package python-django/1:1.10.7-2+deb9u3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
910821: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910821
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: [email protected]
Usertags: pu

Dear stable release managers,

Please consider python-django (1:1.10.7-2+deb9u3) for stretch:
  
  python-django (1:1.10.7-2+deb9u3) stretch; urgency=medium
  
    * Default to supporting Spatialite >= 4.2. (Closes: #910240)


The full diff is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/debian/changelog b/debian/changelog
index 17c90124e..b1c56f7c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-django (1:1.10.7-2+deb9u3) stretch; urgency=medium
+
+  * Default to supporting Spatialite >= 4.2. (Closes: #910240)
+
+ -- Chris Lamb <[email protected]>  Thu, 11 Oct 2018 18:47:12 +0100
+
 python-django (1:1.10.7-2+deb9u2) stretch-security; urgency=high
 
   * Non-maintainer upload by the Security Team.
diff --git a/debian/patches/0006-Default-to-supporting-Spatialite-4.2.patch 
b/debian/patches/0006-Default-to-supporting-Spatialite-4.2.patch
new file mode 100644
index 000000000..6c92929a2
--- /dev/null
+++ b/debian/patches/0006-Default-to-supporting-Spatialite-4.2.patch
@@ -0,0 +1,28 @@
+From: Chris Lamb <[email protected]>
+Date: Thu, 4 Oct 2018 09:58:58 +0100
+Subject: Default to supporting Spatialite 4.2
+
+See, for example:
+
+  https://www.gaia-gis.it/fossil/libspatialite/wiki?name=mod_spatialite
+
+... and:
+
+  
https://docs.djangoproject.com/en/2.1/ref/contrib/gis/install/spatialite/#installing-spatialite
+---
+ django/contrib/gis/db/backends/spatialite/base.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/django/contrib/gis/db/backends/spatialite/base.py 
b/django/contrib/gis/db/backends/spatialite/base.py
+index 1f03868..6d0d631 100644
+--- a/django/contrib/gis/db/backends/spatialite/base.py
++++ b/django/contrib/gis/db/backends/spatialite/base.py
+@@ -35,7 +35,7 @@ class DatabaseWrapper(SQLiteDatabaseWrapper):
+         # cannot be found by `ctypes.util.find_library`), then it may be set
+         # manually in the settings via the `SPATIALITE_LIBRARY_PATH` setting.
+         self.spatialite_lib = getattr(settings, 'SPATIALITE_LIBRARY_PATH',
+-                                      find_library('spatialite'))
++                                      'mod_spatialite')
+         if not self.spatialite_lib:
+             raise ImproperlyConfigured('Unable to locate the SpatiaLite 
library. '
+                                        'Make sure it is in your library path, 
or set '
diff --git a/debian/patches/series b/debian/patches/series
index 0b2048f8f..6ccbb746a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ fix-test-middleware-classes-headers.patch
 0014-CVE-2018-7537.patch
 0015-CVE-2018-14574.patch
 0016-CVE-2017-12794.patch
+0006-Default-to-supporting-Spatialite-4.2.patch

--- End Message ---
--- Begin Message ---
Version: 9.6

Hi,

The update referenced by each of these bugs was included in this
morning's stretch point release.

Regards,

Adam

--- End Message ---

Reply via email to