Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
78e8cd5420 | |||
f01ee0e53d | |||
00a808796c |
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 08:37:11 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Fix build on 32-bit arm with a workaround
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 08:00:04 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Fix build with python 3.13, remove distributed python.m4 to use the
|
||||
system one that's up to date.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -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
|
||||
@ -147,9 +147,15 @@ links.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
# Remove old python.m4 to use system default. Makes it compatible with python3.13
|
||||
rm contrib/aclocal/python.m4
|
||||
|
||||
%build
|
||||
%define _lto_cflags %nil
|
||||
%ifarch %{arm}
|
||||
# https://github.com/gluster/glusterfs/issues/2979#issuecomment-976739179
|
||||
export CFLAGS="%{optflags} -DUATOMIC_NO_LINK_ERROR"
|
||||
%endif
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--without-tcmalloc \
|
||||
@ -171,6 +177,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user