Source: seafile
Version: 7.0.8-1
Severity: serious
tags: patch

Upstream switched to python3, and now the sed in rules file makes it become 
python33 leading to an invalid runtime
dependency on python33:any.

trivial patch:
diff -Nru seafile-7.0.8/debian/changelog seafile-7.0.8/debian/changelog
--- seafile-7.0.8/debian/changelog      2020-07-06 09:42:21.000000000 +0200
+++ seafile-7.0.8/debian/changelog      2020-07-10 11:35:34.000000000 +0200
@@ -1,3 +1,9 @@
+seafile (7.0.8-1.1) unstable; urgency=medium
+
+  * Drop hack leading to python33 shebang (Closes: #-1)
+
+ -- Gianfranco Costamagna <[email protected]>  Fri, 10 Jul 2020 
11:35:34 +0200
+
 seafile (7.0.8-1) unstable; urgency=medium
 
   * New upstream version 7.0.8
diff -Nru seafile-7.0.8/debian/rules seafile-7.0.8/debian/rules
--- seafile-7.0.8/debian/rules  2020-05-12 11:21:29.000000000 +0200
+++ seafile-7.0.8/debian/rules  2020-07-10 11:35:32.000000000 +0200
@@ -23,6 +23,3 @@
        # emptying the dependency_libs field in .la files
        sed -i "/dependency_libs/ s/'.*'/''/" `find debian/ -name '*.la'`
        dh_strip --dbgsym-migration='seafile-daemon-dbg (<< 6.0.7-1), 
libseafile-dbg (<< 6.0.7-1)'
-
-execute_before_dh_install:
-       sed -e '1 s/python/python3/' -i $(CURDIR)/debian/tmp/usr/bin/seaf-cli

Reply via email to