Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2021-10-19 11:27:05 -04:00
parent fecd290418
commit 80badd1442
2 changed files with 22 additions and 8 deletions

View File

@ -4,7 +4,7 @@
%global _for_fedora_koji_builds 1
# uncomment and add '%' to use the %%dev for pre-releases
# %%global prereltag rc0
%global prereltag rc0
##-----------------------------------------------------------------------------
## All package definitions should be placed here in alphabetical order
@ -75,6 +75,11 @@
%global _without_libtirpc --without-libtirpc
%endif
# libtcmalloc
# if you wish to compile an rpm without tcmalloc (i.e. use gluster mempool)
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without tcmalloc
%{?_without_tcmalloc:%global _without_libtcmalloc --without-tcmalloc}
# ocf
# if you wish to compile an rpm without the OCF resource agents...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without ocf
@ -191,8 +196,8 @@
Summary: Distributed File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
Version: 9.4
Release: 1%{?prereltag:%{prereltag}}%{?dist}
Version: 10.0
Release: 0.1%{?prereltag:%{prereltag}}%{?dist}
%else
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
@ -213,6 +218,10 @@ Source0: @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
Requires(pre): shadow-utils
BuildRequires: systemd
%if 0%{!?_without_tcmalloc:1}
Requires: gperftools-libs%{?_isa}
%endif
Requires: libglusterfs0%{?_isa} = %{version}-%{release}
Requires: libgfrpc0%{?_isa} = %{version}-%{release}
Requires: libgfxdr0%{?_isa} = %{version}-%{release}
@ -231,6 +240,9 @@ BuildRequires: ncurses-devel readline-devel
BuildRequires: libxml2-devel openssl-devel
BuildRequires: libaio-devel libacl-devel
BuildRequires: python%{_pythonver}-devel
%if 0%{!?_without_tcmalloc:1}
BuildRequires: gperftools-devel
%endif
%if ( 0%{?rhel} && 0%{?rhel} < 8 )
BuildRequires: python-ctypes
%endif
@ -453,9 +465,7 @@ Requires: python%{_pythonver}-gluster = %{version}-%{release}
Requires: rsync
Requires: util-linux
%if ( 0%{?rhel} && ( ( 0%{?rhel} == 8 && 0%{?rhel_minor_version} >= 3 ) || 0%{?rhel} >= 9 ) )
Requires: tar
%endif
# required for setting selinux bools
%if ( 0%{?rhel} && 0%{?rhel} >= 8 )
Requires(post): policycoreutils-python-utils
@ -829,7 +839,8 @@ sed -i -e 's/--quiet//' configure.ac
%{?_without_syslog} \
%{?_with_ipv6default} \
%{?_without_linux_io_uring} \
%{?_without_libtirpc}
%{?_without_libtirpc} \
%{?_without_tcmalloc}
# fix hardening and remove rpath in shlibs
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
@ -1374,7 +1385,7 @@ exit 0
%{_libexecdir}/glusterfs/python/syncdaemon/*
%dir %{_libexecdir}/glusterfs/scripts
%{_libexecdir}/glusterfs/scripts/get-gfid.sh
%{_libexecdir}/glusterfs/scripts/slave-upgrade.sh
%{_libexecdir}/glusterfs/scripts/secondary-upgrade.sh
%{_libexecdir}/glusterfs/scripts/gsync-upgrade.sh
%{_libexecdir}/glusterfs/scripts/generate-gfid-file.sh
%{_libexecdir}/glusterfs/scripts/gsync-sync-gfid
@ -1606,6 +1617,9 @@ exit 0
%{_unitdir}/gluster-ta-volume.service
%changelog
* Tue Oct 19 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 10.0-0.1rc0
- 10.0 RC0
* Mon Oct 4 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 9.4-1
- 9.4 GA

View File

@ -1 +1 @@
SHA512 (glusterfs-9.4.tar.gz) = 2a17197bd2b425117e34af004a6177b7c5012807cd99b9c6d37a1081e0ab9def6b013bedd0ba4122d149969755e0e2985bef8aed9cf612a27a6452b8719a33bf
SHA512 (glusterfs-10.0rc0.tar.gz) = 2c37333a8b9622636be981499ebd0650483c26ee0ef0473dfa10a35681b9c519be88b7684d90812e3816be2429abfbbd4fd619c0a1999dbb680286c2c27709e5