1
0
forked from pool/glusterfs

Compare commits

..

7 Commits

Author SHA256 Message Date
Ana Guerrero
4998865bbf Accepting request 1243228 from filesystems
- Fix build on 32-bit arm with a workaround

OBS-URL: https://build.opensuse.org/request/show/1243228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glusterfs?expand=0&rev=41
2025-02-07 21:50:17 +00:00
OBS User unknown
e15cf7b1cb [info=78e8cd5420d5bd9c850bef6c5df400c9bd62abe834a2cd64855b9e65d87b475a]
OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=103
2025-02-04 22:48:49 +00:00
Dominique Leuenberger
ab9a7b1049 Accepting request 1240112 from filesystems
- Fix build with python 3.13, remove distributed python.m4 to use the
  system one that's up to date.

OBS-URL: https://build.opensuse.org/request/show/1240112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glusterfs?expand=0&rev=40
2025-01-25 18:09:49 +00:00
OBS User unknown
ee17a56884 [info=f01ee0e53d7b174ff3b479b7aea70c1691ed5ee242e531a987adadccb39ac4a1]
OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=102
2025-01-24 08:56:52 +00:00
Dominique Leuenberger
27fa449dc8 Accepting request 1197454 from filesystems
- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang{,_path} macros, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1197454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glusterfs?expand=0&rev=39
2024-08-30 11:29:29 +00:00
e236e9e83b [info=00a808796c22b4854ddde847eb4b438e74400c9558f0f2a08bf140e5d07dd014]
OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=101
2024-08-29 13:31:44 +00:00
c2f3614c25 - remove dependency on /usr/bin/python3 using
%python3_fix_shebang{,_path} macros, [bsc#1212476]

OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=100
2024-08-29 13:28:45 +00:00
4 changed files with 42 additions and 1 deletions

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1738573048
commit: 78e8cd5420d5bd9c850bef6c5df400c9bd62abe834a2cd64855b9e65d87b475a
url: https://src.opensuse.org/jengelh/glusterfs
revision: master

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:531ec3657e45de399f8bdcd2fc8e59928e0d9e6fc77e42aea877d876bc9c3694
size 256

View File

@ -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> Fri Dec 15 08:56:08 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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
@ -147,9 +147,15 @@ links.
%prep %prep
%autosetup -p1 %autosetup -p1
# Remove old python.m4 to use system default. Makes it compatible with python3.13
rm contrib/aclocal/python.m4
%build %build
%define _lto_cflags %nil %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 ./autogen.sh
%configure \ %configure \
--without-tcmalloc \ --without-tcmalloc \
@ -171,6 +177,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