summary refs log tree commit diff
path: root/debian/rules
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-01-15 13:51:48 +0000
committerGitHub <noreply@github.com>2024-01-15 13:51:48 +0000
commitc6e0d845d3865a5a45c21a910ca3212f1d37a45f (patch)
treef89378d506fd7ef9e20c8f85cbd892ff017f07b3 /debian/rules
parentUpdate license in Debian metadata (#16807) (diff)
downloadsynapse-c6e0d845d3865a5a45c21a910ca3212f1d37a45f.tar.xz
Fix building of deps after bump of `pillow` version (#16817)
Broke in https://github.com/element-hq/synapse/pull/16802
Diffstat (limited to '')
-rwxr-xr-xdebian/rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 914d068f2a..8e90587abe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,9 +40,9 @@ override_dh_shlibdeps:
         # to be self-contained, but they have interdependencies and
         # dpkg-shlibdeps doesn't know how to resolve them.
         #
-        # As of Pillow 7.1.0, these libraries are in
-        # site-packages/Pillow.libs. Previously, they were in
-        # site-packages/PIL/.libs.
+        # As of Pillow 7.1.0, these libraries are in site-packages/Pillow.libs.
+        # Previously, they were in site-packages/PIL/.libs. As of Pillow 10.2.0
+        # the package name is lowercased to site-packages/pillow.libs.
         #
         # (we also need to exclude psycopg2, of course, since we've already
         # dealt with that.)
@@ -50,6 +50,7 @@ override_dh_shlibdeps:
 	dh_shlibdeps \
 	    -X site-packages/PIL/.libs \
 	    -X site-packages/Pillow.libs \
+	    -X site-packages/pillow.libs \
 	    -X site-packages/psycopg2
 
 override_dh_virtualenv: