diff --git a/glusterfs.spec b/glusterfs.spec index 30deda498d2712c9c79241f423f5327555f646dd..e924211cf9db0b07d65dfb35a0b55d07b20a7c2f 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -71,7 +71,11 @@ # libtcmalloc # if you wish to compile an rpm without tcmalloc (i.e. use gluster mempool) # rpmbuild -ta glusterfs-10.0.tar.gz --without tcmalloc -%{?_without_tcmalloc:%global _without_libtcmalloc --without-tcmalloc} +%{?_without_tcmalloc:%global _without_tcmalloc --without-tcmalloc} + +%ifnarch x86_64 +%global _without_tcmalloc --without-tcmalloc +%endif # Do not use libtirpc on EL6, it does not have xdr_uint64_t() and xdr_uint32_t # Do not use libtirpc on EL7, it does not have xdr_sizeof() @@ -220,7 +224,7 @@ Summary: Distributed File System Name: glusterfs Version: 10.0 -Release: 3 +Release: 4 License: GPLv2 or LGPLv3+ URL: http://docs.gluster.org/ %if ( 0%{_for_fedora_koji_builds} ) @@ -241,7 +245,7 @@ Requires(pre): shadow-utils BuildRequires: systemd %endif -%if ( 0%{?_with_tcmalloc:1} ) +%if ( 0%{!?_without_tcmalloc:1} ) Requires: gperftools-libs%{?_isa} %endif @@ -263,7 +267,7 @@ BuildRequires: ncurses-devel readline-devel BuildRequires: libxml2-devel openssl-devel BuildRequires: libaio-devel libacl-devel BuildRequires: python%{_pythonver}-devel -%if ( 0%{?_with_tcmalloc:1} ) +%if ( 0%{!?_without_tcmalloc:1} ) BuildRequires: gperftools-devel %endif %if ( 0%{?rhel} && 0%{?rhel} < 8 ) @@ -1512,6 +1516,9 @@ exit 0 %endif %changelog +* Fri Jan 28 2022 imxcc - 10.0-4 +- tcmalloc issues + * Wed Jan 26 2022 Wenchao Hao - 10.0-3 - Change gluster-server "Requires" from pyxattr to python3-pyxattr