po-debconf,
uuid-dev,
zlib1g-dev,
- python,
+ python3,
dh-python,
libblkid-dev,
libattr1-dev
Package: zfsutils-linux
Section: contrib/admin
Architecture: linux-any
-Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}, python3
Recommends: lsb-base, zfs-modules | zfs-dkms, zfs-zed
Suggests: nfs-kernel-server, samba-common-bin (>= 3.0.23), zfs-initramfs | zfs-dracut
Conflicts: zfs, zfs-fuse, zutils
--- /dev/null
+Index: zfs-linux-0.6.5.8/cmd/arc_summary/arc_summary.py
+===================================================================
+--- zfs-linux-0.6.5.8.orig/cmd/arc_summary/arc_summary.py
++++ zfs-linux-0.6.5.8/cmd/arc_summary/arc_summary.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ #
+ # $Id: arc_summary.pl,v 388:e27800740aa2 2011-07-08 02:53:29Z jhell $
+ #
+Index: zfs-linux-0.6.5.8/cmd/arcstat/arcstat.py
+===================================================================
+--- zfs-linux-0.6.5.8.orig/cmd/arcstat/arcstat.py
++++ zfs-linux-0.6.5.8/cmd/arcstat/arcstat.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ #
+ # Print out ZFS ARC Statistics exported via kstat(1)
+ # For a definition of fields, or usage, use arctstat.pl -v
+Index: zfs-linux-0.6.5.8/cmd/dbufstat/dbufstat.py
+===================================================================
+--- zfs-linux-0.6.5.8.orig/cmd/dbufstat/dbufstat.py
++++ zfs-linux-0.6.5.8/cmd/dbufstat/dbufstat.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ #
+ # Print out statistics for all cached dmu buffers. This information
+ # is available through the dbufs kstat and may be post-processed as
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
- dh $@ --with autoreconf,dkms,python2,systemd --parallel
+ dh $@ --with autoreconf,dkms,python3,systemd --parallel
override_dh_auto_configure:
@cp debian/control.in debian/control