]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mount.fuse.ceph: Fix ambiguous shebang 25787/head
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 3 Jan 2019 06:45:50 +0000 (16:45 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Thu, 10 Jan 2019 00:32:07 +0000 (10:32 +1000)
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 <bhubbard@redhat.com>
ceph.spec.in
debian/control
src/mount.fuse.ceph

index 49d4f58d9924d586a407488cf8cd85249b4527a6..347daa5c519abd09ee4f6510ebd82053ec177bc7 100644 (file)
@@ -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
 
index 48ce3528cd854b333fb9c76d7b5c7f2e2e5ce011..347a41d6898e2352b1e6ed39b69bb0b96f58bec5 100644 (file)
@@ -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
index 87349a0ab08d9fcfaa126995660bc636b4a7bdee..c61625a8c2f58bd2b02b8347ba17552f2eac2486 100755 (executable)
@@ -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: