From 885a37ac026cb384efd3c73d6eb9125abd2a0043 Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Thu, 3 Jan 2019 16:45:50 +1000 Subject: [PATCH] mount.fuse.ceph: Fix ambiguous shebang The ambiguous shebang now produces an error in rawhide and halts the build. In f29 this was a warning. Add python3 as a dependency for ceph-fuse. Fixes: http://tracker.ceph.com/issues/37787 Signed-off-by: Brad Hubbard --- ceph.spec.in | 1 + debian/control | 1 + src/mount.fuse.ceph | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 49d4f58d992..347daa5c519 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -463,6 +463,7 @@ Summary: Ceph fuse-based client Group: System/Filesystems %endif Requires: fuse +Requires: python%{python3_pkgversion} %description fuse FUSE based client for Ceph distributed network file system diff --git a/debian/control b/debian/control index 48ce3528cd8..347a41d6898 100644 --- a/debian/control +++ b/debian/control @@ -278,6 +278,7 @@ Package: ceph-fuse Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends}, + ${python3:Depends}, fuse, Description: FUSE-based client for the Ceph distributed file system Ceph is a massively scalable, open-source, distributed diff --git a/src/mount.fuse.ceph b/src/mount.fuse.ceph index 87349a0ab08..c61625a8c2f 100755 --- a/src/mount.fuse.ceph +++ b/src/mount.fuse.ceph @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 ''' Helper to mount ceph-fuse from /etc/fstab. To use, add an entry like: -- 2.47.3