diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..7b4406e --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1724938126 +commit: 00a808796c22b4854ddde847eb4b438e74400c9558f0f2a08bf140e5d07dd014 +url: https://src.opensuse.org/jengelh/glusterfs +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..885100b --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35c77b734f6d6bbfe74d9c7941f9951e101bbc8ea28edf8f7c9963d3d04d4b22 +size 256 diff --git a/glusterfs.changes b/glusterfs.changes index ebf93e7..2edc9e5 100644 --- a/glusterfs.changes +++ b/glusterfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 22 18:11:49 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang{,_path} macros, [bsc#1212476] + ------------------------------------------------------------------- Fri Dec 15 08:56:08 UTC 2023 - Jan Engelhardt diff --git a/glusterfs.spec b/glusterfs.spec index 2d46b85..e73728b 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -1,7 +1,7 @@ # # spec file for package glusterfs # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -171,6 +171,17 @@ chmod -v u-s "%buildroot/%_bindir/fusermount-glusterfs" rm -fv "%buildroot/%_sbindir/conf.py" rm -f "%buildroot/etc/bash_completion.d/gluster.bash" %fdupes %buildroot/%_prefix +%python3_fix_shebang +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/ganesha/* +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/glusterfs/* +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/glusterfs/gfevents/* +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/glusterfs/glusterfind/* +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/glusterfs/python/syncdaemon/* +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/glusterfs/gfind_missing_files/* +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/glusterfs/scripts/* +%python3_fix_shebang_path %{buildroot}%{_datadir}/glusterfs/scripts/* +%endif %pre %service_add_pre glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service