update to glusterfs-10.3-1
Signed-off-by: lihaoxiang <lihaoxiang9@huawei.com>
This commit is contained in:
parent
ffb7810f5f
commit
0bc8e2ab61
Binary file not shown.
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
# asan
|
# asan
|
||||||
# if you wish to compile an rpm with address sanitizer...
|
# if you wish to compile an rpm with address sanitizer...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --with asan
|
# rpmbuild -ta %{name}-%{version}.tar.gz --with asan
|
||||||
%{?_with_asan:%global _with_asan --enable-asan}
|
%{?_with_asan:%global _with_asan --enable-asan}
|
||||||
|
|
||||||
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
|
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
|
||||||
@ -20,42 +20,42 @@
|
|||||||
|
|
||||||
# cmocka
|
# cmocka
|
||||||
# if you wish to compile an rpm with cmocka unit testing...
|
# if you wish to compile an rpm with cmocka unit testing...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --with cmocka
|
# rpmbuild -ta %{name}-%{version}.tar.gz --with cmocka
|
||||||
%{?_with_cmocka:%global _with_cmocka --enable-cmocka}
|
%{?_with_cmocka:%global _with_cmocka --enable-cmocka}
|
||||||
|
|
||||||
# debug
|
# debug
|
||||||
# if you wish to compile an rpm with debugging...
|
# if you wish to compile an rpm with debugging...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --with debug
|
# rpmbuild -ta %{name}-%{version}.tar.gz --with debug
|
||||||
%{?_with_debug:%global _with_debug --enable-debug}
|
%{?_with_debug:%global _with_debug --enable-debug}
|
||||||
|
|
||||||
# epoll
|
# epoll
|
||||||
# if you wish to compile an rpm without epoll...
|
# if you wish to compile an rpm without epoll...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without epoll
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without epoll
|
||||||
%{?_without_epoll:%global _without_epoll --disable-epoll}
|
%{?_without_epoll:%global _without_epoll --disable-epoll}
|
||||||
|
|
||||||
# fusermount
|
# fusermount
|
||||||
# if you wish to compile an rpm without fusermount...
|
# if you wish to compile an rpm without fusermount...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without fusermount
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without fusermount
|
||||||
%{?_without_fusermount:%global _without_fusermount --disable-fusermount}
|
%{?_without_fusermount:%global _without_fusermount --disable-fusermount}
|
||||||
|
|
||||||
# geo-rep
|
# geo-rep
|
||||||
# if you wish to compile an rpm without geo-replication support, compile like this...
|
# if you wish to compile an rpm without geo-replication support, compile like this...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without georeplication
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without georeplication
|
||||||
%{?_without_georeplication:%global _without_georeplication --disable-georeplication}
|
%{?_without_georeplication:%global _without_georeplication --disable-georeplication}
|
||||||
|
|
||||||
# gnfs
|
# gnfs
|
||||||
# if you wish to compile an rpm with the legacy gNFS server xlator
|
# if you wish to compile an rpm with the legacy gNFS server xlator
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --with gnfs
|
# rpmbuild -ta %{name}-%{version}.tar.gz --with gnfs
|
||||||
%{?_with_gnfs:%global _with_gnfs --enable-gnfs}
|
%{?_with_gnfs:%global _with_gnfs --enable-gnfs}
|
||||||
|
|
||||||
# ipv6default
|
# ipv6default
|
||||||
# if you wish to compile an rpm with IPv6 default...
|
# if you wish to compile an rpm with IPv6 default...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --with ipv6default
|
# rpmbuild -ta %{name}-%{version}.tar.gz --with ipv6default
|
||||||
%{?_with_ipv6default:%global _with_ipv6default --with-ipv6-default}
|
%{?_with_ipv6default:%global _with_ipv6default --with-ipv6-default}
|
||||||
|
|
||||||
# linux-io_uring
|
# linux-io_uring
|
||||||
# If you wish to compile an rpm without linux-io_uring support...
|
# If you wish to compile an rpm without linux-io_uring support...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --disable-linux-io_uring
|
# rpmbuild -ta %{name}-%{version}.tar.gz --disable-linux-io_uring
|
||||||
%{?_without_linux_io_uring:%global _without_linux_io_uring --disable-linux-io_uring}
|
%{?_without_linux_io_uring:%global _without_linux_io_uring --disable-linux-io_uring}
|
||||||
|
|
||||||
# Disable linux-io_uring on unsupported distros.
|
# Disable linux-io_uring on unsupported distros.
|
||||||
@ -65,12 +65,12 @@
|
|||||||
|
|
||||||
# libtirpc
|
# libtirpc
|
||||||
# if you wish to compile an rpm without TIRPC (i.e. use legacy glibc rpc)
|
# if you wish to compile an rpm without TIRPC (i.e. use legacy glibc rpc)
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without libtirpc
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without libtirpc
|
||||||
%{?_without_libtirpc:%global _without_libtirpc --without-libtirpc}
|
%{?_without_libtirpc:%global _without_libtirpc --without-libtirpc}
|
||||||
|
|
||||||
# libtcmalloc
|
# libtcmalloc
|
||||||
# if you wish to compile an rpm without tcmalloc (i.e. use gluster mempool)
|
# if you wish to compile an rpm without tcmalloc (i.e. use gluster mempool)
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without tcmalloc
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without tcmalloc
|
||||||
%{?_without_tcmalloc:%global _without_tcmalloc --without-tcmalloc}
|
%{?_without_tcmalloc:%global _without_tcmalloc --without-tcmalloc}
|
||||||
|
|
||||||
%ifnarch x86_64
|
%ifnarch x86_64
|
||||||
@ -86,12 +86,12 @@
|
|||||||
|
|
||||||
# ocf
|
# ocf
|
||||||
# if you wish to compile an rpm without the OCF resource agents...
|
# if you wish to compile an rpm without the OCF resource agents...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without ocf
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without ocf
|
||||||
%{?_without_ocf:%global _without_ocf --without-ocf}
|
%{?_without_ocf:%global _without_ocf --without-ocf}
|
||||||
|
|
||||||
# server
|
# server
|
||||||
# if you wish to build rpms without server components, compile like this
|
# if you wish to build rpms without server components, compile like this
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without server
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without server
|
||||||
%{?_without_server:%global _without_server --without-server}
|
%{?_without_server:%global _without_server --without-server}
|
||||||
|
|
||||||
# disable server components forcefully as rhel <= 6
|
# disable server components forcefully as rhel <= 6
|
||||||
@ -101,7 +101,7 @@
|
|||||||
|
|
||||||
# syslog
|
# syslog
|
||||||
# if you wish to build rpms without syslog logging, compile like this
|
# if you wish to build rpms without syslog logging, compile like this
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --without syslog
|
# rpmbuild -ta %{name}-%{version}.tar.gz --without syslog
|
||||||
%{?_without_syslog:%global _without_syslog --disable-syslog}
|
%{?_without_syslog:%global _without_syslog --disable-syslog}
|
||||||
|
|
||||||
# disable syslog forcefully as rhel <= 6 doesn't have rsyslog or rsyslog-mmcount
|
# disable syslog forcefully as rhel <= 6 doesn't have rsyslog or rsyslog-mmcount
|
||||||
@ -114,7 +114,7 @@
|
|||||||
|
|
||||||
# tsan
|
# tsan
|
||||||
# if you wish to compile an rpm with thread sanitizer...
|
# if you wish to compile an rpm with thread sanitizer...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --with tsan
|
# rpmbuild -ta %{name}-%{version}.tar.gz --with tsan
|
||||||
%{?_with_tsan:%global _with_tsan --enable-tsan}
|
%{?_with_tsan:%global _with_tsan --enable-tsan}
|
||||||
|
|
||||||
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
|
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
|
||||||
@ -123,7 +123,7 @@
|
|||||||
|
|
||||||
# valgrind
|
# valgrind
|
||||||
# if you wish to compile an rpm to run all processes under valgrind...
|
# if you wish to compile an rpm to run all processes under valgrind...
|
||||||
# rpmbuild -ta glusterfs-10.0.tar.gz --with valgrind
|
# rpmbuild -ta %{name}-%{version}.tar.gz --with valgrind
|
||||||
%{?_with_valgrind:%global _with_valgrind --enable-valgrind}
|
%{?_with_valgrind:%global _with_valgrind --enable-valgrind}
|
||||||
|
|
||||||
##-----------------------------------------------------------------------------
|
##-----------------------------------------------------------------------------
|
||||||
@ -223,8 +223,8 @@
|
|||||||
##
|
##
|
||||||
Summary: Distributed File System
|
Summary: Distributed File System
|
||||||
Name: glusterfs
|
Name: glusterfs
|
||||||
Version: 10.0
|
Version: 10.3
|
||||||
Release: 6
|
Release: 1
|
||||||
License: GPLv3 or GPLv2+ or LGPLv3+
|
License: GPLv3 or GPLv2+ or LGPLv3+
|
||||||
URL: http://docs.gluster.org/
|
URL: http://docs.gluster.org/
|
||||||
%if ( 0%{_for_fedora_koji_builds} )
|
%if ( 0%{_for_fedora_koji_builds} )
|
||||||
@ -234,7 +234,7 @@ Source2: glusterfsd.sysconfig
|
|||||||
Source7: glusterfsd.service
|
Source7: glusterfsd.service
|
||||||
Source8: glusterfsd.init
|
Source8: glusterfsd.init
|
||||||
%else
|
%else
|
||||||
Source0: https://download.gluster.org/pub/gluster/glusterfs/10/10.0/glusterfs-10.0.tar.gz
|
Source0: https://download.gluster.org/pub/gluster/glusterfs/10/%{version}/%{name}-%{version}.tar.gz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Patch1: 0001-SC2081-can-t-match-globs-Use-or-grep.patch
|
Patch1: 0001-SC2081-can-t-match-globs-Use-or-grep.patch
|
||||||
@ -266,7 +266,7 @@ BuildRequires: libtsan
|
|||||||
BuildRequires: bison flex
|
BuildRequires: bison flex
|
||||||
BuildRequires: gcc make libtool
|
BuildRequires: gcc make libtool
|
||||||
BuildRequires: ncurses-devel readline-devel
|
BuildRequires: ncurses-devel readline-devel
|
||||||
BuildRequires: libxml2-devel openssl-devel
|
BuildRequires: libxml2-devel openssl-devel openssl
|
||||||
BuildRequires: libaio-devel libacl-devel
|
BuildRequires: libaio-devel libacl-devel
|
||||||
BuildRequires: python%{_pythonver}-devel
|
BuildRequires: python%{_pythonver}-devel
|
||||||
%if ( 0%{!?_without_tcmalloc:1} )
|
%if ( 0%{!?_without_tcmalloc:1} )
|
||||||
@ -1518,6 +1518,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 5 2022 lihaoxiang <lihaoxiang9@huawei.com> - 10.3-1
|
||||||
|
- Update to glusterfs-10.3-1
|
||||||
|
|
||||||
* Tue Oct 18 2022 zhanchengbin <zhanchengbin1@huawei.com> - 10.0-6
|
* Tue Oct 18 2022 zhanchengbin <zhanchengbin1@huawei.com> - 10.0-6
|
||||||
- license: fix license error.
|
- license: fix license error.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user