forked from pool/glusterfs
Remove dependency on /usr/bin/python3
This commit is contained in:
parent
0d191fc9cc
commit
00a808796c
@ -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 <jengelh@inai.de>
|
Fri Dec 15 08:56:08 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package glusterfs
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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 -fv "%buildroot/%_sbindir/conf.py"
|
||||||
rm -f "%buildroot/etc/bash_completion.d/gluster.bash"
|
rm -f "%buildroot/etc/bash_completion.d/gluster.bash"
|
||||||
%fdupes %buildroot/%_prefix
|
%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
|
%pre
|
||||||
%service_add_pre glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service
|
%service_add_pre glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service
|
||||||
|
Loading…
Reference in New Issue
Block a user